eject and pam support in Fedora
Karel Zak
kzak at redhat.com
Wed Mar 5 10:32:25 UTC 2008
On Wed, Mar 05, 2008 at 09:58:25AM +0000, Bill Crawford wrote:
> On 05/03/2008, Karel Zak <kzak at redhat.com> wrote:
>
> > Unfortunately, eject(8) is ***broken by design***, because
> > automatically calls umount(8) before an eject ioctl.
>
> That's pretty necessary if there's a cd or dvd mounted and you need to
> eject it. Arguably it would be good if the kernel would notice it's
Why do you think that type "umount" before "eject" is so difficult?
> It used to be that you had to put "users" as a mount option in
> /etc/fstab to allows multiple users to mount/unmount e.g. a CD or DVD.
> That's been "broken" by the move to completely dynamic handling of
> removable devices and mountpoints by hal.
The umount(8) in F7 and F8 supports hal. You needn't "user" or
"pamconsole" option in your /etc/fstab. The umount(8) simply
redirects all to /sbin/umount.hal. It means you needn't consolehelepr
or whatever for hal mounts. This solution should be default on
desktop.
Karel
--
Karel Zak <kzak at redhat.com>
More information about the fedora-devel-list
mailing list