> Anyway as for the "magic" eject button, there are some devices on some
> other architecture that if you press an eject button, it signals the os
> to do a "clean unmount" then eject the media when it receives a signal
> from the os that the media can be safely ejected. I think this is what
> you're looking for. There aren't a lot of devices like that in the x86,
> unfortunately. ZIP drives have this kind of thing I believe under
> Windows but this feature is not available on Linux because under Linux
> the default behavior is to lock the media in the drive until you do an

There is such a thing as 'supermount' which originated as an addition to
the Mandrake Linux kernel, and, a fork of it known as 'supermount-ng' [1].
Several distro kernels have now included this patch, which seems logical
for a desktop distro.

This kernel patch does what you want to do: detects if media is being
ejected, and safely unmount the media first before actual ejection.

Initial incarnations of supermount where infamous to be really buggy, but
things have stabilized a bit now. If you don't believe me, try popping in
a CDROM on any modern (9.1++) Mandrake distro, you will see that it will
be immediately recognized on your desktop, and when you eject it there
isn't any need to manual unmount the drive.

[1] http://supermount-ng.sourceforge.net



--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to