Difference between revisions of "Udisksctl power-off"
Jump to navigation
Jump to search
(Removed redirect to Udisksctl) Tag: Removed redirect |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | |||
+ | |||
+ | [[lsusb]] | ||
+ | .../... | ||
+ | Bus 002 Device 005: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE | ||
+ | .../... | ||
+ | |||
+ | [[lsblk]] | ||
+ | sdc 8:32 0 3.7T 0 disk | ||
+ | └─sdc1 8:33 0 3.7T 0 part | ||
+ | |||
+ | udisksctl power-off -b /dev/sdc1 | ||
+ | (no output) | ||
+ | |||
+ | lsusb | ||
+ | no usb device present | ||
+ | |||
+ | [[lsblk]] | ||
+ | no device present | ||
+ | |||
+ | Message after power-off | ||
+ | Sep 22 09:51:10 SERVER kernel: usb 2-6: USB disconnect, device number 5 | ||
+ | Sep 22 09:51:10 SERVER udisksd[416816]: Powered off /dev/sdc - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/remove | ||
+ | Sep 22 09:51:04 SERVER multipathd[856]: sdc: path already removed | ||
+ | Sep 22 09:51:04 SERVER udisksd[416816]: Successfully sent SCSI command START STOP UNIT to /dev/sdc | ||
+ | Sep 22 09:51:03 SERVER udisksd[416816]: Successfully sent SCSI command SYNCHRONIZE CACHE to /dev/sdc | ||
+ | Sep 22 09:45:09 SERVER udisksd[416816]: Unmounted /dev/sdc1 on behalf of uid 0 | ||
+ | |||
+ | == Related commands == | ||
+ | * [[lsblk]] | ||
+ | * [[lsusb]] | ||
Latest revision as of 10:07, 22 September 2020
This article is a Draft. Help us to complete it.
lsusb .../... Bus 002 Device 005: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE .../...
lsblk sdc 8:32 0 3.7T 0 disk └─sdc1 8:33 0 3.7T 0 part
udisksctl power-off -b /dev/sdc1 (no output)
lsusb no usb device present lsblk no device present
Message after power-off
Sep 22 09:51:10 SERVER kernel: usb 2-6: USB disconnect, device number 5 Sep 22 09:51:10 SERVER udisksd[416816]: Powered off /dev/sdc - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:14.0/usb2/2-6/remove Sep 22 09:51:04 SERVER multipathd[856]: sdc: path already removed Sep 22 09:51:04 SERVER udisksd[416816]: Successfully sent SCSI command START STOP UNIT to /dev/sdc Sep 22 09:51:03 SERVER udisksd[416816]: Successfully sent SCSI command SYNCHRONIZE CACHE to /dev/sdc Sep 22 09:45:09 SERVER udisksd[416816]: Unmounted /dev/sdc1 on behalf of uid 0
Related commands[edit]
See also[edit]
Advertising: