NetBSD Problem Report #18488
Received: (qmail 8283 invoked by uid 605); 1 Oct 2002 12:31:51 -0000
Message-Id: <200210011231.g91CVBM17491@mofo.grunta.com>
Date: Tue, 1 Oct 2002 22:31:11 +1000 (EST)
From: grant@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: cannot unmount a CD-RW after erasing it
X-Send-Pr-Version: 3.95
>Number: 18488
>Category: kern
>Synopsis: cannot unmount a CD-RW after erasing it
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 01 12:32:00 +0000 2002
>Closed-Date:
>Last-Modified: Tue Oct 01 13:46:01 +0000 2002
>Originator: grant beattie
>Release: NetBSD 1.6I
>Organization:
>Environment:
System: NetBSD mofo 1.6I NetBSD 1.6I (GENERIC) #0: Sat Sep 28 14:58:16 EST 2002 root@mofo:/raid0/netbsd/current/20020928/i386/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
After erasing a CD-RW, it is impossible to unmount it. Obviously I did
not realise it was mounted at the time :) but was couldn't unmount it
and was forced to reboot.
>How-To-Repeat:
# mount /dev/cd0a /cdrom
# cdrecord blank=fast
[...]
# umount /dev/cd0a
umount: /cdrom: invalid argument
>Fix:
There really should be a way to force unmount a file system.
>Release-Note:
>Audit-Trail:
From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: grant@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/18488: cannot unmount a CD-RW after erasing it
Date: Tue, 1 Oct 2002 15:32:08 +0200
On Tue, Oct 01, 2002 at 10:31:11PM +1000, grant@netbsd.org wrote:
> >Description:
> After erasing a CD-RW, it is impossible to unmount it. Obviously I did
> not realise it was mounted at the time :) but was couldn't unmount it
> and was forced to reboot.
>
> >How-To-Repeat:
> # mount /dev/cd0a /cdrom
> # cdrecord blank=fast
> [...]
> # umount /dev/cd0a
> umount: /cdrom: invalid argument
>
> >Fix:
> There really should be a way to force unmount a file system.
did you try -f?
umount(8)
-f The filesystem is forcibly unmounted. Active special devices
continue to work, but all other files return errors if further
accesses are attempted. The root filesystem cannot be forcibly
unmounted.
regards,
--
-- Lubomir Sedlacik <salo@Xtrmntr.org> ASCII Ribbon campaign against /"\ --
-- <salo@silcnet.org> e-mail in gratuitous HTML and \ / --
-- Microsoft proprietary formats X --
-- PGPkey: http://Xtrmntr.org/salo.pgp / \ --
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49 39B8 8B08 C30E 54BC 7263 --
From: grant@netbsd.org
To: Lubomir Sedlacik <salo@Xtrmntr.org>
Cc: grant@netbsd.org, gnats-bugs@gnats.netbsd.org
Subject: Re: kern/18488: cannot unmount a CD-RW after erasing it
Date: Tue, 1 Oct 2002 23:50:56 +1000
On Tue, Oct 01, 2002 at 03:32:08PM +0200, Lubomir Sedlacik wrote:
> did you try -f?
yes, the result was the same. sorry, I should meant to mention this :)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.