Date: Sat, 13 Sep 2008 20:22:46 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount_nfs mount_nfs.8 mount_nfs.c Message-ID: <200809132022.m8DKMrkN024120@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rodrigc 2008-09-13 20:22:46 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.8 mount_nfs.c Log: SVN rev 183008 on 2008-09-13 20:22:46Z by rodrigc Instead of building up a "struct nfs_args" to pass to the kernel via nmount(), build up an iovec where each iovec member is an NFS mount option, and pass the iovec down to the kernel via nmount(). These options are then parsed in the kernel. This should make it easier to add new NFS mount options in future. Many, many thanks to Doug Rabson for taking my initial patches, and cleaning them up. In addition, Doug added a fallback_mount() function so that the newer mount_nfs program will work against older kernels, to facilitate upgrading/downgrading scenarios. Doug also re-wrote the mount_nfs.8 man page. Reviewed by: dfr Revision Changes Path 1.51 +216 -182 src/sbin/mount_nfs/mount_nfs.8 1.79 +406 -291 src/sbin/mount_nfs/mount_nfs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809132022.m8DKMrkN024120>