From owner-freebsd-questions Sat Oct 4 11:03:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA27890 for questions-outgoing; Sat, 4 Oct 1997 11:03:23 -0700 (PDT) Received: from onet.pl (root@sun.onet.pl [194.204.188.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA27880 for ; Sat, 4 Oct 1997 11:03:16 -0700 (PDT) Received: from friko.onet.pl (friko.onet.pl [194.204.188.29]) by onet.pl (8.8.5/8.8.5) with ESMTP id TAA28541; Sat, 4 Oct 1997 19:59:23 +0200 (MET DST) Received: from psycho.free.box (rap-cen181.opole.tpnet.pl [194.204.146.181]) by friko.onet.pl (8.8.4/8.8.4) with SMTP id TAA11569; Sat, 4 Oct 1997 19:52:11 +0200 Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19971003170931.25574@lemis.com> Date: Sat, 04 Oct 1997 18:24:33 +0200 (CEST) Organization: Ovita Nutricia Poland From: Mariusz Potocki To: Greg Lehey Subject: Re: try this Cc: George Vagner , freebsd-questions@FreeBSD.ORG, Doug White Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 03-Oct-97 Greg Lehey wrote: >On Thu, Oct 02, 1997 at 11:48:29PM -0700, Doug White wrote: >> On Sat, 27 Sep 1997, George Vagner wrote: >> >>> run startx and then run xfm go to your /cdrom directory using xfm, >>> now move your mouse to another active xterm and type umount /cdrom >>> all hell breaks loose >>> and i cant do anyhing, i had to reboot by the reset button which scared me. >> >> Yeah, that's what happens when you unmount a filesystem that someone is >> attached to. Suggestion: don't do it. :-) > >That doesn't stop this being a bug. It shouldn't be possible to >umount a file system which is in use. I suppose somebody should enter >a pr about this one. > >Greg In my opinion it should be a command to remove users that are in the filesystem that we want to unmount. On HP-UX I used to use 'fuser' that do this kind of thing. Mariusz "verba volant, scripta manent"