HardenedBSD/sbin/mount_ifs
Brian Feldman cf96af72d5 Fix a few things:
1. Get rid of the evilly bogus strdup(fstab) and  free if (fstab == "")
   as in umount.
2. Don't use /etc/fstab info if the mount instance does not exactly match
   the fstab entry.
3. Reversed the mountpoint checking order in getmntpt().
4. Clarify the "not mounted" error message in mount -u.  The previous
   "unknown special file or file system" wasn't quite right.
5. Get rid of a 1-byte memory leak;  this was reported by jhb.

Submitted by:	Martin Blapp <mb@imp.ch>
1999-10-30 17:40:10 +00:00
..
extern.h
getmntopts.3
getmntopts.c mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
Makefile
mntopts.h mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_ufs.c
mount.8
mount.c Fix a few things: 1999-10-30 17:40:10 +00:00
pathnames.h
vfslist.c