[Nix-dev] Re: Allowing users to mount usb-storages.

Ludovic Courtès ludo at gnu.org
Mon Jan 12 17:59:06 CET 2009


Hi,

"Lluís Batlle" <viriketo at gmail.com>
writes:

> I wonder, how do you configure your systems, to allow non-root users
> mounting usb-storages.

I actually have a couple of lines like "sudo mount -t vfat ..." in my
Bash history, which is arguably suboptimal.  ;-)

> I've always done that adding entries to /etc/fstab with 'user' option,
> for fixed /dev/sdb1, /dev/sdc1, ..., pointing to /mt/usbb, /mnt/usbc,
> ...
>
> Some distros have udev rules for that, creating content on /mnt and
> fstab entries.

I'm not knowledgeable in that area, but I agree that something automagic
would be really nice.

Thanks,
Ludo'.




More information about the nix-dev mailing list