Created
November 24, 2016 15:25
-
-
Save yufengwng/dee2d086ff27e3c405cf12cfd36ca78e to your computer and use it in GitHub Desktop.
Commands for managing usb devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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