You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have removable disks that are connected to my computer most of the time. When the system is shut down, the mount point directories remain in place. Udiskie doesn't seem able to reuse those on next reboot, so for example with a drive labeled Something, it will be mounted to Something1. I need to unmount, delete, remount manually.
The text was updated successfully, but these errors were encountered:
I've noticed this too. I think this should be fixed in udisks, not udiskie: udisks could e.g. just remount to existing directories if they're empty.
In my experience, removing those directories requires root permissions, so this can't be done by udiskie itself anyway - the only thing that I could imagine to be done from udiskie is to add a shutdown hook that performs automatic unmount before shutdown, but this only handles the specific shutdown case and is a lot messier than the solution in udisks.
I've come up with a workaround. :)
My auto mount directory is /media, and now I made it to be a tmpfs file system.
This line goes into /etc/fstab : tmpfs /media tmpfs nodev,nosuid,size=1M 0 0
Since the content of a tmpfs mount is stored in RAM, it's entirely gone on system shutdown or restart, and it gets remounted as an empty dir on startup.
I have removable disks that are connected to my computer most of the time. When the system is shut down, the mount point directories remain in place. Udiskie doesn't seem able to reuse those on next reboot, so for example with a drive labeled Something, it will be mounted to Something1. I need to unmount, delete, remount manually.
The text was updated successfully, but these errors were encountered: