[Bug 20424] Ejecting a volume removes its device in /dev

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Fri Dec 16 18:56:49 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20424
Ubuntu | linux





------- Additional Comments From ben.collins at ubuntu.com  2005-12-16 18:56 UTC -------
Of course /dev/sda1 is going to go away if the device is ejected. There's no
longer a partition map, so there's no way for the kernel to export a partition.

Likely, /dev/sda is still there. If it isn't, I can surely understand that as
well. Ejecting the device removes it. I know, this is counter inuitive to how a
cdrom works, but think about it. When you "eject" say a USB key, or iPod, the
"eject" is to pretty much power down the device, or "remove" it from the bus. So
the whole device goes away, not just the media, like what would be for an ATAPI
cdrom drive.

When you power off an iPod connected via firewire, it will send a bus reset,
then the bus will not see the device (it's off, or disconnected itself from the
bus). After that the ieee1394 subsystem will issue a device removal. There go
the devices. This is why just unmounting is not enough for iPods.

None of this is surprising to me. Behavior in these cases is completely based on
how the device handles certain events (eject mainly). What it does after getting
that is not under the control of the kernel or udev.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list