From owner-cvs-sbin Mon Jan 19 10:50:03 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05053 for cvs-sbin-outgoing; Mon, 19 Jan 1998 10:50:03 -0800 (PST) (envelope-from owner-cvs-sbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04943; Mon, 19 Jan 1998 10:49:31 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA20494; Mon, 19 Jan 1998 10:48:38 -0800 (PST) Date: Mon, 19 Jan 1998 10:48:38 -0800 (PST) Message-Id: <199801191848.KAA20494@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/umount umount.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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