-
Create
media
directory in user$HOME
, and placerefresh
script into it. -
On Linux install
pmount
utility. That's all, but if you also want to have correct device file access rights, perform the following steps.2.1. Put
51-removable-disks.rules
to/etc/udev/rules.d
.2.2. Change group name in
GROUP="storage"
directive in this file fromstorage
to appropriate name in your distributive. Often it isplugdev
. -
On BSD install
fusefs-ntfs
package/port, and perform the following steps.3.1. Enable
fusefs
kmod loading:# sysrc kld_list+=" fusefs"
3.2. Allow users mount devices: add
vfs.usermount=1
to/etc/sysctl.conf
.3.3. Change removable devices mode: add
[localrules=10] add path 'da[0-9]*' mode 0660 group operator
to
/etc/devfs.rules
, anddevfs_system_ruleset="localrules"
to/etc/rc.conf
.3.4. Fix
msdosfs_iconv
"Operation not permitted" issue: copyiconv_fix.sh
into/usr/local/etc/rc.d
directory.3.5 Reboot.
-
Notifications
You must be signed in to change notification settings - Fork 0
A script for mounting removable devices (Linux, FreeBSD).
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
A1-Triard/media
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A script for mounting removable devices (Linux, FreeBSD).
Resources
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published