Difference between revisions of "Udisksctl"
Jump to navigation
Jump to search
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <code>udisksctl</code> utility for manipulating [[disk drives]] and [[block devices]]. Included in the <code>[[ | + | <code>udisksctl</code> utility for manipulating [[disk drives]] and [[block devices]]. Included in the <code>[[udisks2]]</code> package. |
− | + | :[[Man]]: http://manpages.ubuntu.com/manpages/bionic/man1/udisksctl.1.html | |
+ | |||
+ | |||
+ | * <code>[[udisksctl info]]</code> | ||
+ | * <code>[[udisksctl status]]</code> | ||
* <code>[[udisksctl mount]]</code> | * <code>[[udisksctl mount]]</code> | ||
+ | * <code>[[udisksctl unmount]]</code> | ||
+ | * <code>[[udisksctl lock]]</code> | ||
+ | * <code>[[udisksctl unlock]]</code> | ||
+ | * <code>[[udisksctl power-off]]</code> | ||
+ | * <code>[[udisksctl smart-simulate]]</code> | ||
+ | |||
+ | |||
− | == | + | == Usage == |
+ | To manually mount a removable drive, for example <code>/dev/sdc</code>, use <code>[[lsblk]]</code> to identify device: | ||
+ | $ udisksctl mount -b /dev/sdc1 | ||
+ | Mounted /dev/sdc1 at [[/media/]]root/backup. | ||
+ | |||
+ | To manually unmount: | ||
+ | $ udisksctl unmount -b /dev/sdc1 | ||
+ | |||
udisksctl status | udisksctl status | ||
MODEL REVISION SERIAL DEVICE | MODEL REVISION SERIAL DEVICE | ||
Line 21: | Line 39: | ||
Monitoring the udisks daemon. Press Ctrl+C to exit. | Monitoring the udisks daemon. Press Ctrl+C to exit. | ||
06:20:39.357: The udisks-daemon is running (name-owner :1.397). | 06:20:39.357: The udisks-daemon is running (name-owner :1.397). | ||
+ | |||
+ | See <code>udisksctl --help</code> for more. | ||
== Related terms == | == Related terms == | ||
− | * [[ | + | * [[S.M.A.R.T.]] |
* <code>[[mount]]</code> | * <code>[[mount]]</code> | ||
+ | * <code>[[blkid]]</code> | ||
== See also == | == See also == | ||
+ | * {{udisksctl}} | ||
* {{USB}} | * {{USB}} | ||
* {{Linux block devices}} | * {{Linux block devices}} |
Latest revision as of 10:56, 22 October 2020
udisksctl
utility for manipulating disk drives and block devices. Included in the udisks2
package.
udisksctl info
udisksctl status
udisksctl mount
udisksctl unmount
udisksctl lock
udisksctl unlock
udisksctl power-off
udisksctl smart-simulate
Usage[edit]
To manually mount a removable drive, for example /dev/sdc
, use lsblk
to identify device:
$ udisksctl mount -b /dev/sdc1 Mounted /dev/sdc1 at /media/root/backup.
To manually unmount:
$ udisksctl unmount -b /dev/sdc1 udisksctl status MODEL REVISION SERIAL DEVICE -------------------------------------------------------------------------- HPE LOGICAL VOLUME 1.99 600508b1001ce076d1b28c4e6235bfxx sdb Generic- SD/MMC CRW 1.00 19203008282014111 sda
udisksctl status MODEL REVISION SERIAL DEVICE -------------------------------------------------------------------------- HPE LOGICAL VOLUME 1.99 600508b1001ce076d1b28c4e6235bf08 sdb Generic- SD/MMC CRW 1.00 29203008282014000 sda WD My Book 25EE 4004 682243374B31585853483022 sdc
udisksctl monitor Monitoring the udisks daemon. Press Ctrl+C to exit. 06:20:39.357: The udisks-daemon is running (name-owner :1.397).
See udisksctl --help
for more.
Related terms[edit]
See also[edit]
udisksctl
[umount
|mount
|power-off]
,status
- USB, USB4, Usb-storage (kernel),
lsusb
,usb-devices
,usbserial
,udisksctl
,usb_modeswitch
, USB-C, Mini USB,/sys/bus/usb/devices/
, FTDI, On The Go adapter (OTG) - Block devices:
blkid
(UUID),lshw -class disk
,hwinfo --disk
,udevadm
,rescan-scsi-bus.sh
,LUN
,hdparm
,findfs
, Add a new disk lsblk
,pvscan
lspci
,lsscsi
,smartctl
,fdisk
,parted
,Kpartx
,pvdiplay
,pvs
,udisksctl
,/dev/sd, nvme list
- Storage: Fibre Channel, Disk arrays, Disk array shelves, Disk array controller, CD-ROM, DVD, Tape library, LTO, HDD, SSD, SCSI, iSCSI, SAS, SATA, SEDs, OPAL, Magnetic storage, WORM
Advertising: