-
Notifications
You must be signed in to change notification settings - Fork 2
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
autodetect and automount discs when reading them #16
Comments
I found udiskie, a program written in Python 3 to automount your disks that supports udisks 1 and 2. But it wasn't made to be a library and it showed. And it's probably only in Debian or something. |
Added UDisks 2 support to asunder, jaredjennings/asunder@bc72fae. This is about half of what is needed for this issue. |
Gnaah, that's a quarter of what's needed for this issue. We'd have to listen to UDisks 2's ObjectManager interface for the InterfacesAdded and InterfacesRemoved events, see that new Filesystem objects are available, and request they be mounted. But this is approximately what I guess where this would come in handy is you wouldn't have to unlock your screen to hit Enter or type a location if we had this, and if the notification (#18) is in place, then as long as nothing is going wrong, the command-line interface isn't necessary during a backup or restore. Hmm. I was about to postpone this, but it could be the difference between me having to do a backup or restore, and someone else being able to switch discs for me. Still depending on them to wield the sharpie when discs are burned, though. Hmm. |
#15 comes from the realization that it takes a long time to read a whole disc, and if we may not consume all the data in a whole set, reading every disc entirely is wasted time.
Trading some of that lost time away for the possibility of switching discs more means that it would be nice if we could avoid having to mount and unmount discs, and just insert and remove them. But, of course, ten years from now, how that happens is anybody's guess. But we ought to be able to tell if something we try isn't working and fall back.
The text was updated successfully, but these errors were encountered: