devkit-disks

devkit-disks — DeviceKit-disks command line tool

Synopsis

devkit-disks [OPTIONS]

DESCRIPTION

devkit-disks is a simple command line client for the DeviceKit-disks(7) system bus service.

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.

--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 object_path

Shows information about object_path.

--inhibit-polling object_path [-- program arg ...]

Inhibits polling on object_path. 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.

--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 object_path [--mount-fstype fstype ] [--mount-options options ]

Mounts the device represented by object_path using the file system fstype and a comma-separated list of options.

--unmount object_path [--unmount-options options ]

Unmounts the device represented by object_path using a comma-separated list of options.

--inhibit [-- program arg ...]

Inhibits clients from invoking methods on the daemon of the daemon that require authorization (all methods will return the org.freedesktop.DeviceKit.Disks.Error.Inhibited error) if the caller is not the super user. This is typically used by OS installers and other programs that expects full control of the system, specifically to avoid automounting devices. Only the super user can do this.

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.

--help

Show help options.

AUTHOR

Written by David Zeuthen with a lot of help from many others.

BUGS

Please send bug reports to either the distribution or the hal mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe.

SEE ALSO

devkit-disks-daemon(8), DeviceKit-disks(7),