Subject: kern/18488: cannot unmount a CD-RW after erasing it
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/01/2002 22:31:11
>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 05:32:00 PDT 2002
>Originator:     grant beattie
>Release:        NetBSD 1.6I
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
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.

# mount /dev/cd0a /cdrom
# cdrecord blank=fast
# umount /dev/cd0a
umount: /cdrom: invalid argument

There really should be a way to force unmount a file system.