Hello,

Lea Wiemann wrote:
> I have the following line in my /etc/fstab to make sure the
> Lea_External disk gets mounted to /media/external:
> 
>     /dev/disk/by-label/Lea_External   /media/external    ext3    
> noatime,errors=remount-ro,noexec,nosuid,nodev,noauto,user 0 0
> 
> However, pmount refuses to mount /dev/sda1 (which is what
> /dev/disk/by-label/Lea_External symlinks to):
> 
> $ pmount /dev/sda1 
> Error: mount point /media/sda1 is already in /etc/fstab

  pmount resolves all symlinks in fstab also. So, in fact, /dev/sda1 is
in fstab, under the name /dev/disk/by-label/Lea_External. This is a
feature, I'm afraid. pmount tries hard to not provide a means tp
override /etc/fstab, including for symlinks (you might prefer have
/dev/cdrom in your /etc/fstab settings, and that's a symlink).

  If /dev/sda1 is always /dev/disk/by-label/Lea_External, then you
should be glad that pmount delegates to mount without privileges.

  It seems that the pmount manual page is confusing, though, I'll have a
look into that.

  Regards,

        Vincent

-- 
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/
-- pretty boring signature, isn't it ?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to