Re: [PATCH] use pmount instead of mount for hotpluggable device
- From: David Zeuthen <david fubar dk>
- To: Christian Neumair <chris gnome-de org>
- Cc: gnome-vfs-list gnome org, Alexander Larsson <alexl redhat com>
- Subject: Re: [PATCH] use pmount instead of mount for hotpluggable device
- Date: Thu, 16 Feb 2006 11:42:57 -0500
On Thu, 2006-02-16 at 11:00 +0100, Christian Neumair wrote:
> Am Montag, den 13.02.2006, 11:07 -0500 schrieb David Zeuthen:
> > I also think runtime detection of what mount helper to use royally
> > sucks, it just makes the code look like spaghetti and it's a source of
> > confusion for users.
>
> When pmount is installed, isn't it meant to "manage" /media, i.e. is it
> bad to assume that everything going on in /media is pmount-related, and
> all the other mount points are not?
Yes, that assumption is not valid. For example, gnome-mount also
"manages" /media (via hal methods) and the user is of course free to
create his own entries and use /etc/fstab. FHS mentions /media too
http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT
>From an end user point of view you either want gnome-mount or pmount
installed but probably not both at the same time. They solve the same
problem but in a different ways and the projects have different goals.
> Also, when gnome-mount is used, the (p)mount code will only be reached
> when the HAL UDI is NULL.
Yes, that's right, one useful example of this is for entries
in /etc/fstab that the user created himself. Also useful for passworded
smb-mounts in /etc/fstab IIRC.
Btw, on a related note I've got a little fix to gnome-vfs for using
gnome-mount for unmounting some of these for problematic drives like PC
floppy drives and IDE zip drives. Will submit patch this weekend.
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]