freebsd-dev/sbin/mount
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 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getmntopts.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getmntopts.c mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mntopts.h mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_ufs.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mount.8 Document the "noasync" option. 1999-09-28 15:49:47 +00:00
mount.c Fix a few things: 1999-10-30 17:40:10 +00:00
pathnames.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
vfslist.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00