Difference between revisions of "Udisksctl unmount"
Jump to navigation
Jump to search
Tag: Redirect target changed |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
+ | [[udisksctl]] unmount -b [[/dev/sd]]c1 | ||
+ | Unmounted /dev/sdc1. | ||
+ | |||
+ | udisksctl unmount -b /WRONG/PATH | ||
+ | Error looking up object for device /WRONG/PATH | ||
+ | |||
+ | udisksctl unmount -b /dev/sdc1 | ||
+ | Error unmounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdc1: target is busy | ||
+ | |||
+ | Use <code>[[lsof]] /dev/sdc1</code> to list [[processes]] using the target. | ||
+ | |||
+ | <pre> | ||
+ | udisksctl unmount | ||
+ | Usage: | ||
+ | udisksctl unmount [OPTION…] | ||
+ | |||
+ | Unmount a filesystem. | ||
+ | |||
+ | Options: | ||
+ | -p, --object-path Object to unmount | ||
+ | -b, --block-device Block device to unmount | ||
+ | -f, --force Force/lazy unmount | ||
+ | --no-user-interaction Do not authenticate the user if needed | ||
+ | </pre> | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[udisksctl status]]</code> | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{udisksctl}} | ||
+ | |||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 14:12, 13 October 2020
udisksctl unmount -b /dev/sdc1 Unmounted /dev/sdc1.
udisksctl unmount -b /WRONG/PATH Error looking up object for device /WRONG/PATH
udisksctl unmount -b /dev/sdc1
Error unmounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdc1: target is busy
Use lsof /dev/sdc1
to list processes using the target.
udisksctl unmount Usage: udisksctl unmount [OPTION…] Unmount a filesystem. Options: -p, --object-path Object to unmount -b, --block-device Block device to unmount -f, --force Force/lazy unmount --no-user-interaction Do not authenticate the user if needed
Related commands[edit]
See also[edit]
Advertising: