Date: Mon, 19 Jan 1998 10:48:38 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/umount umount.c Message-ID: <199801191848.KAA20494@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/01/19 10:48:37 PST
Modified files:
sbin/umount umount.c
Log:
mount(8) only uses realpath() for the mountpoint, so don't look up the
real path here for the mount device (or path). This fixes difficulties
unmounting devices that are actually symlinks to real devices.
Also, print the original path instead of the real path in early error
messages. nfs path handling and later error messages may still be wrong,
probably only in silly cases where the original path is both a symlink
and a remote path.
PR: 5208
Revision Changes Path
1.12 +6 -6 src/sbin/umount/umount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801191848.KAA20494>
