Skip to contentSkip to conversation

Let non-root users eject their ipods?

RFC Bodo Eggert 1 participant 1 message Dec 20, 2005 7 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 7 lines · Bill Davidsen

Using umount still leaves the iPod flashing a "do not disconnect" message as I recall, while eject clears it. So while umount may be all the o/s needs, and all some external storage media need, it may be highly desirable to do the eject for the benefit of the attached device, to cue it to finish whatever it's caching internally. Whatever eject does clearly is device visible, and in the case of iPod the device objects if it isn't given.

There is an auto-eject function causing the media to be ejected on the last user closing the device. Unfortunately it makes the device open itself during mounts, and setting this flag will inevitably eject the media. Additionally, it didn't work with my SCSI cdroms.

With slight changes, it could do the trick.

OTOH, we could also introduce the 'eject' mount option to let umount() eject the media after the (last if possible) mount is gone. This will behave sane for audio CDs, too.

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.