mount usb stick as user
damien.montigny at free.fr
damien.montigny at free.fr
Mon May 23 13:24:10 PDT 2016
I had a similar line in /etc/devices.conf, putting it in /etc/devfs.conf instead of /etc/devices.conf did the trick.
Thank you.
----- Mail original -----
De: "Bernardino Gonzalez" <fullmatad at yahoo.com>
À: "Tomohiro Kusumi" <kusumi.tomohiro at gmail.com>, "damien montigny" <damien.montigny at free.fr>
Cc: users at dragonflybsd.org
Envoyé: Dimanche 22 Mai 2016 23:38:57
Objet: Re: mount usb stick as user
I also had a bit of an issue with this. Mounting as user once was easy enough but setting it up to persist between reboots is where I ran into some trouble.
The doc says to add " fd0 root:operator 666" to /etc/devices.conf (that was a floppy ex., fd0 should be replaced with your usb label).
In order to get it to work I had to add the line "perm da8* root:operator 666" and that was to /etc/devfs.conf not /etc/devices.conf.
This was of course, after making sure I was in the operator group and setting vfs.usermount=1 in /etc/sysctl.
On Saturday, May 21, 2016 10:32 PM, Tomohiro Kusumi <kusumi.tomohiro at gmail.com> wrote:
> there's no usb
usb stick (usb mass storage class) IS a block device, as your url
explains how to mount block devices.
2016-05-22 3:03 GMT+09:00 < damien.montigny at free.fr >:
> Hi,
>
> I'm trying to mount a usb stick as a user.
> I can mount it as root but not as a user.
>
> I tried to follow user mounting section in :
> https://www.dragonflybsd.org/docs/howtos/HowToDevice/
>
> but there's no usb device in this howto.
>
> Damien.
More information about the Users
mailing list