Since MacOS High Sierra has been out for a long time this is probably old news to the tiny minority using coreutils. When you upgrade you might find that “df” and other commands don’t work properly.
Every time I opened a terminal after upgrading I saw errors saying commands had been aborted. When I ran “df” it would abort immediately.
I thought the upgrade had damaged my filesystem, especially since it introduced APFS. I ran “First Aid” in Disk Utility several times, both live and in recovery.
It then occurred to me to try the MacOS df in /bin/. It worked!
Coreutils is the package that includes lots of command line tools like “df”. I installed it using brew so the following fixed the problem:
brew reinstall coreutils
I noticed it put everything in /usr/local where my original commands were in /opt/ so changing the PATH in my .zshrc was necessary too. Everything was back to normal again! 🙂
EDIT: Some other commands were messed up. “find” had changed, but then I realised it probably isn’t in coreutils and I was using the MacOS version. This page led me to the right package names and the following command line:
Just in case this happens to anyone else who upgrades to OS X El Capitan 10.11.15, another reboot of a Macbook Pro will fix the crackling sound that starts after music has been playing for about two minutes.
Making the switch from Windows or Linux to Mac OS X is not without pain. The extra CMD key plays havoc with muscle memory, and the “Windows Explorer” of Mac OS X, Finder, is quite a different beast to what you might be used to in the Windows or Linux worlds.
Switch CMD and ALT if you’re using a PC keyboard. I have a lovely split keyboard but the default configuration hurt my fingers.
Change the keyboard layout if your keyboard doesn’t work the way you’re used to. I still haven’t got this set up exactly as I want it to. In my terminal some keys act differently I think but I haven’t set aside time to work out which. I need to swap ” (shift-2) with @ (key to the top/left of right-shift). My muscle memory gets them mixed up all the time.
Automount SMB drives automatically. I haven’t been able to get the fstab method to work yet because my password has spaces but the “User Login” one works well enough.
Right click on the directory name in Finder and show a dropdown of the path to that directory.
Install Mac Ports to get a working copy of Rsync and a better ls that lets me put parameters after the filename.
There are still oddities. When Mac OS X mounts an SMB share it does so with permissions that only allows the current user to edit files in the share. That’s perfectly understandable but it messes things up for Rsync when I’m syncing directories with a remote host. I’ve had to resort to using the “–size-only” parameter of Rsync so it won’t attempt to sync every file each time. I need to figure out if that can be fixed somehow.
I’ll update this post from time to time as I come across more oddities.
An oldie, but as they say, “a goody”. For all the Mac fans who are sick and tired of their computers crashing. (Hey Mark!)
Found this on a CD while sorting through my CDRs and music collection. Most are now ripped to MP3 and the physical media is heading into the attic for safe storage.
Why is it that most of my compilation CDs are from about 10 years ago? Does music become less relevant the older you get? I’ve never bought music online but if I do, Blue Lights on the Runway by Bell X1 will probably be the first album I buy. Love “The Great Defector”, their current single.
When I got my new Macbook a few weeks back I thought I could use the Bluetooth functions to browse and copy files from my Nokia N73. It worked just fine on my previous Macbook, an old 2 year old machine destroyed by a cup of tea, so I wasn’t expecting any problems.
Unfortunately it seems that Mac OS X Leopard and the latest firmware of the Nokia N73 just do not like each other. No matter what I did, I could not get the Macbook and N73 to pair. The configuration tool stopped every single time on the “getting more information” part of the wizard. I’m not the only one experiencing problems. There’s a long thread on the Apple website. Both Apple and Nokia have been informed and are aware of the problem but I suspect it’s something in Nokia’s latest N73 firmware.
I have a card reader, now to find the SD sleeve that came with my Sony Ericsson phone. Nokia didn’t include one with their phone.
PS. does anyone else find the keyboard of their Macbook isn’t as responsive as it should be? I have to really hit the y and Enter keys to make sure. It is very annoying!
@wubud (pronounced woo-bud) is where Paul Walsh will reveal his next venture. You may remember Paul from a previous post here about his qik adventures when he missed his flight home because he was talking to people on the Internet. He landed a bed in a penthouse suite so don’t be too sorry for him!
Anyway, he explains on his blog why he’s going down the Twitter route and it’s an interesting experiment. It certainly caught the imagination of several people we both follow and I know others are blogging it too. Nice way to spread the word, eh? I think the incentive to win a Mac Air helps too, don’t you think?
So far only 203 people are following @wubud so it may take a while to get to the 5,000 followers Paul wants.
Paul’s in San Francisco next weekend, so you never know, he might reveal the master plan to you if you ask nicely if he hasn’t done it before then!
What about me? Do I want to win a Mac Air? ‘Course I do! My Macbook died this evening. A cup of tea spilled on it while I was feeding the baby. I quickly dried it off as best I could with paper towels but the screen was black and the thing is dead. Luckily backuppc had done a backup 6 days ago so I doubt I lost much stuff.
I’ve insulted the Mac Brigade. I am so sorry. I didn’t realise that putting stickers on an Apple Macbook was such a heinous crime. HOW COULD I HAVE BEEN SO STUPID?
Well, that’s how Bernie puts it anyway. Sort of. He posted a photo of my Macbook at BlogTalk and the response surprised me. Hahahaha. Thud! (Laughing my head off)
For those who missed the original shot, here’s one I took moments ago. There are stickers from Laughing Squid (and a button too), getfirefox.com (Thanks Nikolay), Zooomr.com, Hyku, that WordPress crowd who get everywhere, and 2 from Om Malik: FoundRead and NewTeeVee.
The other button says, “hard bloggin’ scientist” and I got that from Jan Schmidt last Tuesday at BlogTalk. Thanks!
Lovely isn’t it? Who’s on your laptop? Anyone got a Dell sticker to put on the Apple Logo? It’d shine through nicely!
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.