summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2015-01-13docs: include the annotation glossaryStefan Sauer1-0/+2
Avoid a large number of warnings by including the generated annotation glossary. https://bugs.freedesktop.org/show_bug.cgi?id=87878
2014-12-18Add a man page for umount.udisks2Matthias Clasen5-0/+68
Some customers get upset if there are commands in /bin or /sbin without a manual page. Since the umount interface expects its plugins to be in /sbin, add a pro forma man page for umount.udisks2. https://bugs.freedesktop.org/show_bug.cgi?id=66188
2014-12-18Update obsolete gnome-common and automake macrosMartin Pitt1-1/+1
- Drop obsolete GNOME_COMMON_INIT, we already set ACLOCAL_AMFLAGS. - Drop GNOME_MAINTAINER_MODE_DEFINES, we already configure maintainer mode. - Replace obsolete GNOME_DEBUG_CHECK with AX_CHECK_ENABLE_DEBUG. - Replace obsolete INCLUDES with AM_CPPFLAGS. Bump automake dependency to 1.11. https://bugs.freedesktop.org/show_bug.cgi?id=73321
2014-01-26udisksctl: fix grammarDavid Zeuthen1-1/+1
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2014-01-26udisksctl: add power-off verb to power off drivesDavid Zeuthen1-0/+35
This is useful in e.g. backup scripts. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-12-19Add polkit authorization variables for removable mediaPawel Wieczorkiewicz1-0/+8
Add new variables 'drive.removable.bus' and 'drive.removable.media'. It allows restricting or granting access to removable media based on its type by polkit authorization rules. It makes possible to grant access to USB devices, while restrict access to Optical drives. Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2013-05-21UDisksClient: Make it possible to get part desc based on the part table subtypeDavid Zeuthen1-0/+1
Otherwise, Disks can't populate the partition table combobox correctly for GPT because "Generic", "Apple" and "Other" subtypes all have the same partition type (ZFS) but with different descriptions ("ZFS", "Apple ZFS", "Solaris /usr"). Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-03-17Bump version to 2.1.0 and update date in man pagesDavid Zeuthen3-3/+3
We're starting a new minor series. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-02-17Introduce UDISKS_FILESYSTEM_SHARED=1 to use /media for mountingDavid Zeuthen1-0/+8
A lot of haters been complaining about /run/media/$USER and there are a couple of setups where it's awkward to use /etc/fstab entries and just easier to write a short udev rule. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-01-20build: fix out of source build - set xsltproc pathAlban Browaeys1-3/+3
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-01-07Rename UDisksCleanup to UDisksStateDavid Zeuthen3-23/+23
It's more accurate and - hopefully - less confusing this way Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2013-01-07Fold UDisksPersistentStore class into UDisksCleanupDavid Zeuthen3-21/+0
The latter is the only user so it's not useful to split it in two. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-21Add MDRaid:SyncRate and MDRaid:SyncRemainingTime propertiesDavid Zeuthen1-0/+4
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-20Add MDRaid:RequestSyncAction() methodDavid Zeuthen1-0/+4
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-18Remove MDRaid:CanStart{,Degraded} propertiesDavid Zeuthen1-4/+0
This is actually very very hard to reliably figure out (it requires intimate knowledge of the RAID superblocks on all currently-present member devices), so don't pretend we know. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-13Introduce new Job:Bytes and Job:Rate propertiesDavid Zeuthen1-0/+4
This allows GUI apps to show more detailed information, see e.g. http://people.freedesktop.org/~david/udisks-job-with-rate-and-bytes-info.png Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-11Add support for UDISKS_CAN_POWER_OFF udev propertyDavid Zeuthen1-0/+9
This can be used for devices that should be never powered off. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-10Add UDisksClient.queue_changed()David Zeuthen1-0/+1
It's sometimes useful to cause a UDisksClient::changed signal to be emitted in the rate-limited fashion we already support. Add functionality to do this. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-07docs: Fix up description of WriteCacheEnabled and document valid valuesDavid Zeuthen1-3/+6
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-07Add support for querying and configuring the Write Cache for ATA devicesDavid Zeuthen2-0/+14
http://people.freedesktop.org/~david/gnome-disks-write-cache-setting.png Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-05Add support for setting the symbolic icon for a deviceDavid Zeuthen2-0/+15
This is used in e.g. the GNOME desktop environemtn where both normal and symbolic icons are now used. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-12-05UDisksObjectInfo: Add get_sort_key() methodDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-30Add MDRaid.SetBitmapLocation() methodDavid Zeuthen1-0/+4
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-29Add new MDRaid.AddDevice() methodDavid Zeuthen1-0/+4
This is used to hot-add a device to a RAID array. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-29Mention RAID split-brain syndromeDavid Zeuthen1-0/+1
And also add a function UDisksClient.get_all_blocks_for_mdraid() so GUIs can at least convey to the user that there's a problem. GNOME Disks makes use of this to show both the underlying device files http://people.freedesktop.org/~david/gnome-disks-mdraid-split-brain.png Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-28Keep track of MD RAID arrays started/created via udisksDavid Zeuthen1-0/+3
... and allow user to stop (via MDRaid.Stop()) and manipulate those (via Filesystem.Mount(), Block.Format() etc). This is similar to what we do for e.g. loop devices. The result is that the user is no longer interrupted by password dialogs as e.g. pointed out in my Google+ post here https://plus.google.com/110773474140772402317/posts/TPHVtY7myks Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-24Add Block:Id propertyDavid Zeuthen1-0/+3
This persistent and unique id is useful for a bunch of things, for example Disks' benchmark dialog can use it as the filename for saving benchmarking data for a block device (Disks is currently deriving the filename from looking at symlinks). Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-20Make UDisksObjectInfo a GObject and hide its structDavid Zeuthen2-4/+22
Provide getter methods instead. This breaks library ABI (see gnome-disk-utility for the required changes) but that's fine since we're on an unstable branch. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-20UDisksLinuxDevice: add a reprobe_sync() methodDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-19Fix up docsDavid Zeuthen1-1/+1
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-19Add Drive.Ata.SmartSetEnabled() methodDavid Zeuthen1-0/+4
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-18Add a Drive.PowerOff() methodDavid Zeuthen1-0/+11
Right now we only support devices connected via USB but in the future we can add support for other interconnects. Also, since this operation may affect multiple drives, we also introduce a Drive:SiblingId property so applications can do the right thing. http://people.freedesktop.org/~david/gnome-disks-power-off-drive-1.png http://people.freedesktop.org/~david/gnome-disks-power-off-drive-2.png http://people.freedesktop.org/~david/gnome-disks-power-off-drive-3.png Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-06Block.Format: add @update-partition-type optionDavid Zeuthen1-0/+1
If this option is set to TRUE, we'll set the _natural_ partition type for the requested filesystem, if one is available. For example, if formatting a GPT partition with a FAT filesystem, the Microsoft Basic Data partition type will be chosen; similar, if formatting a DOS partition with a Ext4 filesystem then partition type 0x83 is chosen. This feature was requested here https://bugzilla.gnome.org/show_bug.cgi?id=685871 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-11-05Add udisks_ata_identify_get_word() utility functionDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-24Introduce UDisksLinuxDevice as a replacement for GUdevDeviceDavid Zeuthen3-0/+15
This is essentially a GUdevDevice but with extra information such as the probed ATA IDENTIFY data and, in the future, anything else we might need. The big idea here is that we want to depend _less_ on udev for peripheral things that doesn't make sense to store in the udev database, such as the properties in [1]. The win here is a. We can simplify ata_id somewhat - it still needs to extract serial numbers, WWNs etc. (because those are needed for symlinks in the /dev/disk/by-* hierarchy) but it does not need to extract and print what is in e.g. [1]. b. If we need information in udisks from e.g. the ATA IDENTIFY data we don't need to add it to ata_id (or scsi_id or whatever), then wait for a systemd release and then instruct distributors to properly handle the dependency - instead, we can just access the IDENTIFY data ourselves. Much simpler and less error prone. Since probing is synchronous, we create a thread for this and whenever there's an uevent we push a new request onto a work queue. The probing thread will handle incoming requests sequentially (in the future we could have a pool of worker threads and run things in parallel) and pop the results back to the main thread, also sequentially. The only probing we have right now is for IDENTIFY DEVICE and IDENTIFY PACKET DEVICE for ATA disks. We can add more in the future. Note that this patch doesn't actually achieve b. yet - upcoming patches will move from reading udev properties (such as looking at the value of ID_ATA_FEATURE_SET_PM) to extracting this from the IDENTIFY data itself. [1] : # udevadm info -q all -n /dev/sda|grep ID_ATA_ E: ID_ATA_DOWNLOAD_MICROCODE=1 E: ID_ATA_FEATURE_SET_HPA=1 E: ID_ATA_FEATURE_SET_HPA_ENABLED=1 E: ID_ATA_FEATURE_SET_PM=1 E: ID_ATA_FEATURE_SET_PM_ENABLED=1 E: ID_ATA_FEATURE_SET_SECURITY=1 E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0 E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=2 E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=2 E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1 E: ID_ATA_FEATURE_SET_SMART=1 E: ID_ATA_FEATURE_SET_SMART_ENABLED=1 E: ID_ATA_ROTATION_RATE_RPM=0 E: ID_ATA_SATA=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1 E: ID_ATA_WRITE_CACHE=1 E: ID_ATA_WRITE_CACHE_ENABLED=1 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-23Factor out ATA routinesDavid Zeuthen2-0/+9
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-12Always pass MD devices of the form /dev/mdNNN when assembling RAID arraysDavid Zeuthen1-0/+1
This is to be consistent with array creation. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-12Add Manager.MDRaidCreate() method for RAID Array creationDavid Zeuthen1-0/+4
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Update gtk-doc types fileDavid Zeuthen1-0/+5
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Include docs for MD-RAID implementation detailsDavid Zeuthen1-0/+5
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Update gtk-doc sectionsDavid Zeuthen2-0/+126
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Add indexes of deprecated and new-in-2.1 symbolsDavid Zeuthen1-1/+11
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Re-include udisks_client_get_drive_info() in API docsDavid Zeuthen1-0/+1
Otherwise we can't tell people that it's deprecated. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-03Merge branch 'master' into wip/mdraidDavid Zeuthen5-19/+68
2012-10-02Remove udisks_daemon_util_on_other_seat() from sections.txtDavid Zeuthen1-1/+0
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-02docs: use CDATA for email addresses to avoid them being mangledDavid Zeuthen3-6/+9
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-02docs: add some more meta information to the man pages (version, source, manual)David Zeuthen3-3/+21
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-02docs: Document udisksctl(1)'s status commandDavid Zeuthen1-0/+15
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-02docs: Document udisksctl(1)'s info commandDavid Zeuthen1-0/+11
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-10-02docs: update man page dates to "October 2012"David Zeuthen3-3/+3
In the future we shall update it only in minor releases .0, e.g. 2.0.0, 2.2.0, 2.4.0 and so on. Signed-off-by: David Zeuthen <zeuthen@gmail.com>