Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate devmon as a more sustainable solution for USB auto-mounting #299

Closed
martignoni opened this issue Jul 17, 2023 · 3 comments
Closed
Assignees
Labels
Status: test passed Feature or fix is successfully tested Type: maintenance A maintenance task
Milestone

Comments

@martignoni
Copy link
Member

devmon daemon and service of Debian package udevil could be a sustainable replacement solution of USBMount for USB key auto-mounting.

Ref:

@martignoni martignoni added the Type: enhancement New feature or request label Jul 17, 2023
@martignoni martignoni added this to the 4.6.0 milestone Jul 17, 2023
@martignoni martignoni self-assigned this Jul 17, 2023
@martignoni
Copy link
Member Author

martignoni commented Jul 17, 2023

After installing udevil, as root, enable service:

systemctl enable devmon@moodlebox
systemctl start devmon@moodlebox
systemctl daemon-reload

Edit config file /etc/udevil/udevil.conf:

  • Add exfat and hfsplus at end of line allowed_types
  • Remove nonempty at end of line default_options_exfat of config file /etc/udevil/udevil.conf to fix exfat mounting errors
  • Add script to fix permissions on mounted folder at end of file, e.g. success_rootexec = /usr/local/bin/fix-mount-permissions.sh (or alternatively, create /media/moodlebox folder with correct permissions at installation)

@martignoni martignoni added the Status: work started Work started on this issue label Jul 17, 2023
@martignoni
Copy link
Member Author

martignoni commented Jul 17, 2023

Multiple USB drives can be mounted; they are mounted in /media/moodlebox folder.

@martignoni martignoni added Status: test started Test of feature or fix in progress Status: test passed Feature or fix is successfully tested and removed Status: work started Work started on this issue Status: test started Test of feature or fix in progress labels Jul 18, 2023
@martignoni martignoni added Type: maintenance A maintenance task and removed Type: enhancement New feature or request labels Jul 20, 2023
@martignoni
Copy link
Member Author

Closing. Follow up here: #300.

martignoni added a commit that referenced this issue Jul 20, 2023
martignoni added a commit that referenced this issue Jul 20, 2023
martignoni added a commit that referenced this issue Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: test passed Feature or fix is successfully tested Type: maintenance A maintenance task
Projects
None yet
Development

No branches or pull requests

1 participant