freebsd-dev/sbin/mount
Pawel Jakub Dawidek 90742659d7 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@syndrom23.de>
PR:		bin/89782
MFC after:	3 days
2006-01-18 11:00:34 +00:00
..
extern.h Remove UFS-specific parts from mount(8). 2005-11-23 23:22:56 +00:00
getmntopts.3 Fix prototype. 2005-11-24 14:27:53 +00:00
getmntopts.c In build_iovec(), if passed in len is -1, check to see if 2005-11-14 17:39:00 +00:00
Makefile Remove UFS-specific parts from mount(8). 2005-11-23 23:22:56 +00:00
mntopts.h Remove unsupported "dev" option from comments of mntopts.h. 2005-12-02 03:55:02 +00:00
mount_fs.c - Make size parameter to build_iovec() a size_t, not an int 2005-11-13 01:27:57 +00:00
mount.8 - Xref mount_reiserfs(8) 2006-01-10 15:56:46 +00:00
mount.c Resolve the mount point's path with realpath(2) before checking if file 2006-01-18 11:00:34 +00:00
pathnames.h Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
vfslist.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00