Skip to content

naivisoftware/napmount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Description

Auto mounts SCSI-drives (sda, sdb etc.), including USB sticks and SD cards on initialization of NAP Core, before the application is loaded. The module also watches and notifies the user about changes in SCSI disk configuration, automatically mounting new drives and unmounting disconnected ones. Linux only.

Installation

Compatible with NAP 0.7 and higher - package release and source context.

From ZIP

Download the module as .zip archive and install it into the nap modules directory:

cd tools
./install_module.sh ~/Downloads/napmount-main.zip

From Repository

Clone the repository and setup the module in the nap modules directory.

cd modules
clone https://github.com/naivisoftware/napmount.git
./../tools/setup_module.sh napmount

System Configuration

This application, when configured to mount drives (default), requires NOPASSWD sudo privileges for the following commands:

  • /bin/mount
  • /bin/umount
  • /usr/sbin/blkid

Add a new file to /etc/sudoers.d:

cd /etc/sudoers.d
sudo nano napmount

And add the following line, replace user with your username:

# give user no-pass mount permissions
user ALL=(ALL) NOPASSWD:/bin/mount, /bin/umount, /usr/sbin/blkid

About

SCSI (USB/SD) drive mounting system for NAP applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors