[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-users
Subject: Re: Auto-mounting USB storage disks under DragonflyBSD
From: Thomas Nikolajsen <thomas.nikolajsen () mail ! dk>
Date: 2015-09-20 20:38:45
Message-ID: E7.F0.02999.4591FF55 () fep45
[Download RAW message or body]
>If one wishes to have user mounted USB devices (external hard disks mainly), is it possible to do this by setting >vfs.usermount=1 in /etc/sysctl.conf? I actually tried, but nothing happened.
Yes, setting 'sysctl vfs.usermount=1' allows non-root user to mount a file system
(otherwise only root is allowed to do that).
This will not do any auto mounting, just give user possibility to mount file system
(if permissions on mount point & special file allows).
There is no auto unmounting either;
IMO it is better to learn user to do these two steps, than try to automate.
-thomas
-
$ sysctl -d vfs.usermount
vfs.usermount: Allow non-root users to mount filesystems
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic