UDISKS



UDISKS

NAME
DESCRIPTION
DEVICE INFORMATION
REMOTE CLIENTS
AUTHOR
BUGS
SEE ALSO

NAME

udisks − Storage Management

DESCRIPTION

udisks provides an interface to enumerate storage devices and perform operations on them. Any application can access the org.freedesktop.UDisks service on the system message bus. Some operations (such as formatting disks etc.) is restricted using polkit.

DEVICE INFORMATION

On Linux, udisks relies on recent versions of udev(7) and the kernel. Influential device properties in the udev database include:

UDISKS_PRESENTATION_HIDE

If set to 1 this is a hint to presentation level software that the device should not be shown to the user.

UDISKS_PRESENTATION_NOPOLICY

If set to 1 this is a hint to presentation level software that the device should not be automounted or autoassembled (for e.g. components of a multi−disk device).

UDISKS_DISABLE_POLLING

If set to 1 this will disable the polling of drives for media changes, for devices which do not send out media notifications by themselves (this mostly affects CD drives). Some CD drives cause bad effects such as very high CPU usage when being polled.

UDISKS_PRESENTATION_NAME

The name to user for the device when presenting it to the user.

UDISKS_PRESENTATION_ICON_NAME

The icon to use when presenting the device to the user. If set, the name must follow the freedesktop.org icon theme specification.

UDISKS_AUTOMOUNT_HINT

A variable to influence whether a device should be automounted. Possible values include "always" (to hint that a device should always be automounted) and "never" (to hint that a device should never be automounted). Note that this is only a hint − the auto−mounter might not honor it.

UDISKS_SYSTEM_INTERNAL

If set, this will override the usual bus type based detection of whether a device is considered "system internal". "0" means "removable" (i. e. eligible for automounting, and normal users can mount), any other value means "system internal" (i. e. no automounting, and only administrators can mount).

The ID_DRIVE_* properties are used to describe what kind of physical media can be used in a device. These are typically set on the main block device (e.g. /dev/sdb) and more than one these properties can be set if the device supports multiple kinds of media.

ID_DRIVE_EJECTABLE

Whether the media in the drive is physically ejectable. Only set this to 1 (or 0) if the drive truly uses (or doesn´t) ejectable media. In particular, it is not necessary to set this for e.g. iPod or Kindle devices where it is necessary to send a command via eject(1) since the desktop user session will offer this option for removable devices regardless of whether they are ejectable. If this property is not set, a heuristic will be used to determine if the media is ejectable (drives using optical, Zip or Jaz media are considered ejectable).

ID_DRIVE_DETACHABLE

Whether the device is detachable. It is only meaningful to set this to 0 (to avoid marking a device as detachable) since the code for detaching the device is part of udisks itself. If this property is not set, a heuristic will be used to determine if the drive is detachable (currently only devices connected through USB are detachable).

ID_DRIVE_CAN_SPINDOWN

Whether the device can spin down. It is only meaningful to set this to 0 (to avoid marking a device as being capable of spinning down) since the code for spinning down the device is part of udisks itself. If this property is not set, a heuristic will be used to determine if the drive can spin down (currently only ATA devices, including those USB devices with a SAT layer) can be spun down).

ID_DRIVE_FLASH

The device is compatible with flash.

ID_DRIVE_FLASH_CF

The device is compatible with Compact Flash.

ID_DRIVE_FLASH_MS

The device is compatible with Memory Stick.

ID_DRIVE_FLASH_SM

The device is compatible with SmartMedia.

ID_DRIVE_FLASH_SD

The device is compatible with SecureDigital.

ID_DRIVE_FLASH_SDHC

The device is compatible with High−Capicity SecureDigital.

ID_DRIVE_FLASH_MMC

The device is compatible with MultiMediaCard.

ID_DRIVE_FLOPPY

The device is compatible with floppy disk.

ID_DRIVE_FLOPPY_ZIP

The device is compatible with Zip.

ID_DRIVE_FLOPPY_JAZ

The device is compatible with Jaz.

The ID_DRIVE_MEDIA_* properties describe the current media in a device. As with the ID_DRIVE_* properties, these properties are typically set on the main block device (e.g. /dev/sdb). Typically only one of these properties are set.

ID_DRIVE_MEDIA_FLASH

The physical media currently inserted into the device is flash.

ID_DRIVE_MEDIA_FLASH_CF

The physical media currently inserted into the device is Compact Flash.

ID_DRIVE_MEDIA_FLASH_MS

The physical media currently inserted into the device is Memory Stick.

ID_DRIVE_MEDIA_FLASH_SM

The physical media currently inserted into the device is SmartMedia.

ID_DRIVE_MEDIA_FLASH_SD

The physical media currently inserted into the device is SecureDigital.

ID_DRIVE_MEDIA_FLASH_SDHC

The physical media currently inserted into the device is High−Capicity SecureDigital.

ID_DRIVE_MEDIA_FLASH_MMC

The physical media currently inserted into the device is MultiMediaCard.

ID_DRIVE_MEDIA_FLOPPY

The physical media currently inserted into the device is floppy disk.

ID_DRIVE_MEDIA_FLOPPY_ZIP

The physical media currently inserted into the device is Zip.

ID_DRIVE_MEDIA_FLOPPY_JAZ

The physical media currently inserted into the device is Jaz.

REMOTE CLIENTS

TODO: write me.

AUTHOR

Written by David Zeuthen david@fubar.dk with a lot of help from many others.

BUGS

Please send bug reports to either the distribution bug tracker or the upstream bug tracker at http://bugs.freedesktop.org/enter_bug.cgi?product=udisks.

SEE ALSO

udev(7), polkit(8), udisks-daemon(8), udisks-tcp-bridge(1), udisks(1)






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.