cvs commit: src/sbin/mount_nfs mount_nfs.8 mount_nfs.c

Craig Rodrigues rodrigc at FreeBSD.org
Sat Sep 13 20:22:54 UTC 2008


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


More information about the cvs-src mailing list