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" <[email protected]>
À: "Tomohiro Kusumi" <[email protected]>, "damien montigny" 
<[email protected]>
Cc: [email protected]
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 <[email protected]> 
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 < [email protected] >: 
> 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. 


Reply via email to