cvs commit: src/sbin/mount mount.c

Ian Dowse iedowse at FreeBSD.org
Fri Dec 5 01:36:58 PST 2003


iedowse     2003/12/05 01:36:57 PST

  FreeBSD src repository

  Modified files:
    sbin/mount           mount.c 
  Log:
  Don't include the file system ID in the output of `mount -v' if it
  is all zeros. The kernel now consistently zeroes FSIDs for non-root
  users, so there's no point in printing these.
  
  Also fix a number of compiler warnings, including two real bugs:
  - a bracket placement bug caused `mount -t ufs localhost:/foo /mnt'
    to override the `-t ufs' specification and use mount_nfs.
  - an unitialised variable was used instead of _PATH_SYSPATH when
    warning that the mount_* program cound not be found.
  
  Submitted by:   Rudolf Cejka <cejkar at fit.vutbr.cz> (FSID part)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.55      +12 -10    src/sbin/mount/mount.c


More information about the cvs-src mailing list