Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Commands for managing usb devices
view device filesystems
$ lsblk -f
view devices
$ udiskctl status
view device info
$ udiskctl info -b /dev/<id>
mount partition
$ udiskctl mount -b /dev/<fs_id>
unmount partition
$ udiskctl unmount -b /dev/<fs_id>
safely remove device
$ udiskctl power-off -b /dev/<dev_id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment