Skip to content

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
Notifications You must be signed in to change notification settings

A1-Triard/media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create media directory in user $HOME, and place refresh script into it.

  2. 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 from storage to appropriate name in your distributive. Often it is plugdev.

  3. 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, and devfs_system_ruleset="localrules" to /etc/rc.conf.

    3.4. Fix msdosfs_iconv "Operation not permitted" issue: copy iconv_fix.sh into /usr/local/etc/rc.d directory.

    3.5 Reboot.

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

No packages published

Languages