udisks (1) - Linux Manuals
udisks: udisks command line tool
NAME
udisks - udisks command line tool
SYNOPSIS
- udisks [OPTIONS]
DESCRIPTION
udisks
OPTIONS
--dump
- Dump all information about all devices. Please include this when filing bugs.
--enumerate
- Lists all object paths of devices know to the daemon.
--enumerate-device-files
- Lists all device files of devices know to the daemon.
--monitor
- Connect to the daemon and print a line every time an event happens.
--monitor-detail
- Like --monitor but prints the full details of the device whenever an event happens.
--show-info device_file
- Shows information about device_file.
--inhibit-polling device_file [-- program arg ...]
- Inhibits polling on device_file. If no program is given, polling is inhibited until Ctrl+C is pressed. Otherwise the program is spawned and the polling is only inhibited until the program terminates.
--poll-for-media device_file
- Polls device_file to perform media detection.
--inhibit-all-polling [-- program arg ...]
- Inhibits polling on all devices. If no program is given, polling is inhibited until Ctrl+C is pressed. Otherwise the program is spawned and the polling is only inhibited until the program terminates.
--mount device_file [--mount-fstype
--unmount device_file [--unmount-options
--detach device_file [--detach-options
--eject device_file [--eject-options
--ata-smart-refresh device_file [--ata-smart-wakeup]
--ata-smart-refresh device_file --ata-smart-simulate blob
--inhibit [-- program arg ...]
If no program is given, the daemon is inhibited until Ctrl+C is pressed. Otherwise the program is spawned and the daemon is only inhibited until the program terminates.
--set-spindown device_file --spindown-timeout seconds [-- program arg ...]
If no program is given, the spindown time will be used until Ctrl+C is pressed. Otherwise the program is spawned and the the spindown timeout will only be used until the program terminates.
--set-spindown-all --spindown-timeout seconds [-- program arg ...]
If no program is given, the spindown time will be used until Ctrl+C is pressed. Otherwise the program is spawned and the the spindown timeout will only be used until the program terminates.
--help
Caution should be exercised when configuring disk spin down timeouts.
Note that every time a disk is spun down, the
"start-stop-count"
ATA SMART attribute will increase by 1 and most disks are only good for a limited number (typically 50,000 but it varies by manufacturer and model). In addition, the drive may take as long as 30 seconds to respond to subsequent disk access - most drives are typically faster, see the
"spin-up-time"
ATA SMART attribute.
On the other hand, cautious use (e.g. using conservative timeouts) of the ability to spin down disks, can be a good way to trade power consumption (typically 8 vs 1 Watts for 3.5" drives) and heat emission for a slightly higher latency.
Written by David Zeuthen
<david [at] fubar.dk>
with a lot of help from many others.
Please send bug reports to either the distribution bug tracker or the upstream bug tracker at
m[blue]http://bugs.freedesktop.org/enter_bug.cgi?product=udisksm[].
SPINNING DOWN DISKS
AUTHOR
BUGS