mount usb stick as user
Bernardino Gonzalez
fullmatad at yahoo.com
Sun May 22 14:38:57 PDT 2016
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20160522/fe505f86/attachment-0002.html>
More information about the Users
mailing list