Date: Fri, 5 Dec 2003 01:36:57 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount mount.c Message-ID: <200312050936.hB59avgw004760@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@fit.vutbr.cz> (FSID part)
Approved by: re (scottl)
Revision Changes Path
1.55 +12 -10 src/sbin/mount/mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312050936.hB59avgw004760>
