Linux Console automount
Found here: https://askubuntu.com/questions/342188/how-to-auto-mount-from-command-line
udisksctl
Listing available devices:
udisksctl status
Mounting is done via:
udisksctl mount -b /dev/sdf
or
udisksctl mount -p block_devices/sdf
Unmounting is done via:
udisksctl unmount -b /dev/sdf
or
udisksctl unmount -p block_devices/sdf
The object-path can be found out by doing:
udisksctl dump
Object of type org.freedesktop.UDisks2.Block seem to be valid as object-patch, the /org/freedesktop/UDisks2/ prefix has to be cut from the path for udisksctl to accept them.
No comments:
Post a Comment