Date: Sat, 30 Oct 1999 10:40:10 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount mount.c Message-ID: <199910301740.KAA44620@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 1999/10/30 10:40:10 PDT
Modified files:
sbin/mount mount.c
Log:
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>
Revision Changes Path
1.36 +32 -16 src/sbin/mount/mount.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910301740.KAA44620>
