Archive for the ‘Mac’ Category

mkdir /Volumes/disk
sudo mount -o -P nfsserver:/exported/disk/directory /Volumes/disk

Then to unmount

sudo umount /Volumes/disk

This works. But the problems are the usual NFS stuff. If you copy a file there, the uid/gid will be your setting on your mac, which is unquestionably not the same as they are on your nfs server. And because your uid isn’t the same, you’ll probably not be able to edit the files in your home area because you don’t own them.

In Mac OS X (and basically anywhere that uses xterms), to put the scrollbar on the RIGHT side of the terminal, instead of the default left side, add the following to ~/.Xresources.

xterm.vt100.RightScrollBar:  true
xterm.vt100.ScrollBar:         true

In order to allow Time Machine to use a samba disk for backup, do the following:

1. Mount the samba disk
2. Open terminal and run the following command:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Now when setting up Time Machine, the samba disk will appear.