cvs commit: src/sbin/mount mount.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Jan 18 03:19:57 PST 2006
pjd 2006-01-18 11:00:34 UTC
FreeBSD src repository
Modified files:
sbin/mount mount.c
Log:
Resolve the mount point's path with realpath(2) before checking if file
system is mounted. This prevevents duplicated mounts.
The change I made against the original patch is to fall back to the given
path on realpath(2) failure instead of exiting with an error.
Submitted by: Andreas Kohn <andreas at syndrom23.de>
PR: bin/89782
MFC after: 3 days
Revision Changes Path
1.80 +8 -1 src/sbin/mount/mount.c
More information about the cvs-all
mailing list