Making a patch set

Get a clone and make a new branch:

290 21:08 git clone git://linux-nfs.org/~steved/cthon04.git
291 21:08 cd cthon04
292 21:08 git branch FreeBSD
293 21:08 git checkout FreeBSD
294 21:08 git branch

Edit your files and commit the changes:

299 21:09 git commit -a

Make the patch set:


303 21:15 git format-patch --cover-letter -s -n master..FreeBSD

Edit the cover letter to document your changes:

309 21:20 vi 0000-cover-letter.patch

Send the changes:


311 21:21 git send-email --smtp-encryption=tls --smtp-server=smtp.gmail.com --smtp-user=<user>@gmail.com --smtp-server-port=587 --to "<owner>" 000*

Note, while you might use a different email address inside the cover letter, it will still go out as from the user being referenced above. I.e., use the real smtp-server if you don’t want to expose your gmail account.

Note, you might have to install git-mail to do it this way. You can mail the patch set in many different ways.

VMware upgrade might blow away your networking

If you have customized your Fusion networking, be sure to make a copy of /Library/Application\ Support/VMware\ Fusion/networking to your home directory before upgrading.

And then copy it back and before you start up a VM, do sudo ./boot.sh –start in that directory.

Compiling XDR for NFSv4 on Linux

On Fedora at least, you need:

sudo yum -y install libgssglue-devel
sudo yum -y install nfs-utils-lib-devel

in order to get this to work.

Update: For modern Fedora systems:

sudo yum install -y nfs-utils libtirpc-devel

seems to do the trick!