USB Automount Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
peddanet
Posts: 6
Joined: Fri Sep 06, 2019 5:58 pm

Re: USB Automount

Post by peddanet »

rosswesleyporter wrote: Fri Feb 07, 2020 7:51 pm @peddanet : here is an updated link, see page 3. https://github.com/rosswesleyporter/dqm ... EATION.pdf
Thank you very much, I will try it out. Still an issue, but did not have the time. Maybe Corona will give me now the time, cause I am actually off work...
peddanet
Posts: 6
Joined: Fri Sep 06, 2019 5:58 pm

Re: USB Automount

Post by peddanet »

@rosswesleyporter

Thanks for supplying the link! Today I finally got the time to implement the second part of your pdf tutorial, cause I only need the automount thing. I am nearly sure, I followed all your steps, but I return a service which fails with exit status 5 (5 EXIT_NOTINSTALLED The program is not installed.):

Code: Select all

● usbstick-handler@sdb1.service - Mount USB sticks
   Loaded: loaded (/lib/systemd/system/usbstick-handler@.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-06-10 12:53:55 CEST; 4min 11s ago
  Process: 3999 ExecStart=/usr/local/bin/cpmount /dev/sdb1 (code=exited, status=5)
 Main PID: 3999 (code=exited, status=5)

Jun 10 12:53:55 PaeddasStation systemd[1]: Starting Mount USB sticks...
Jun 10 12:53:55 PaeddasStation cpmount[3999]: Error: invalid file system name 'exfat'
Jun 10 12:53:55 PaeddasStation cpmount[3999]: mount: /media/usb1: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
Jun 10 12:53:55 PaeddasStation cpmount[3999]: mount: /media/usb1: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
Jun 10 12:53:55 PaeddasStation systemd[1]: usbstick-handler@sdb1.service: Main process exited, code=exited, status=5/NOTINSTALLED
Jun 10 12:53:55 PaeddasStation systemd[1]: usbstick-handler@sdb1.service: Failed with result 'exit-code'.
So pmount does not work with exfat?? Is vfat not an synonym for that and according to the man page it supports vfat?
Any ideas?
Post Reply