DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 22nd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

/etc/devfs.rules
Code:
[localrules=10]
add path 'da*' mode 0660 group users
I have group users, which i created earlier

/etc/rc.conf
Code:
...
...
devfs_system_ruleset="localrules"

/etc/sysctl.conf
Code:
...
...
vfs.usermount=1
acd


/etc/devfs.conf
Code:
...
...
own     acd0    root:users
perm    acd0    0660
Code:
$ killasmurf86# ls -l /dev | grep da
crw-rw----  1 root          users       0,  96 Oct 22 08:01 da0
Reply With Quote
Old 22nd October 2008
bsddaemon bsddaemon is offline
Slack Daemon
 
Join Date: Oct 2008
Posts: 35
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
EDIT3: hey, is there a way to make mount auto detect filesystem on usb stick?
i'd really love to have auto in /etc/fstab
You can extract the usb filesystem from fdisk command
__________________
...then the God created man...
Reply With Quote
Old 22nd October 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Talking

Thanks killasmurf86, J65nko


I too did it.

Should not tell this but I was editing /etc/devfs.conf instead of /etc/devfs.rules. damn tab key.

Last edited by rex; 22nd October 2008 at 03:30 PM.
Reply With Quote
Old 5th March 2012
shabo shabo is offline
New User
 
Join Date: Mar 2012
Posts: 1
Thanked 0 Times in 0 Posts
Default

I tried everything as it is written, only change group to wheel, but it still shows the error "DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending". In Nautilus I see all partitions but can not access to them, and with root everything works fine.
Reply With Quote
Reply

Tags
mount usb, usb, vfs.usermount

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: mounting an USB device as normal non-root user in OpenBSD J65nko Guides 4 24th December 2008 01:43 AM
How to Run K3B with normal user openBSD 4.4 mfaridi OpenBSD General 6 12th November 2008 10:25 PM
Wireshark not run in normal user mfaridi FreeBSD Ports and Packages 2 7th November 2008 09:49 PM
Mounting samba share as normal user rex FreeBSD General 4 27th October 2008 05:17 PM
command launched by normal user... maurobottone OpenBSD General 4 1st June 2008 03:45 AM


All times are GMT. The time now is 01:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick