summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/blkid.h.in
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: use top-level directory for libblkid rather than shlibs/blkidKarel Zak2011-06-091-336/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_evaluate_spec()Karel Zak2011-03-171-0/+1
| | | | | | | | | | | | The function blkid_evaluate_tag() is useful for tags only (e.g. LABEL=foo). But we also need to address devices by tags OR paths in many utils. The function blkid_evaluate_spec() support this functionality without extra care about the way how device is addressed. The tags as well as paths are converted to the standardized device path. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_probe_get_sectors()Davidlohr Bueso2010-11-151-0/+1
| | | | | | | This function allows users to obtain the device's 512-byte sector count. Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_partlist_get_table()Karel Zak2010-04-231-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: export functions to get whole-disk devnoKarel Zak2010-04-191-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_probe_get_{offset,fd} functionsKarel Zak2010-03-101-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add support for partition flags/attributesKarel Zak2010-02-181-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add support for PART_ENTRY_* valuesKarel Zak2010-02-181-1/+3
| | | | | | | | | | | | blkid(8) will be replacement for devkit-disks-part-id, so we have to be able to found entry in partition table for requested partition. This functionality is enabled by BLKID_PARTS_ENTRY_DETAILS flag (see blkid_probe_set_partitions_flags() for more details). This patch also add a new public function blkid_partlist_devno_to_partition(). Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_probe_all_removable()Karel Zak2010-02-011-0/+1
| | | | | | | | | | | | | | The libblkid probing is based on devices from /proc/partitions by default. This file usually does not contain removable devices (e.g. CDROMs) and this kind of devices are invisible for libblkid. The blkid_probe_all_removable() function adds removable block devices to blkid cache. The probing is based on information from the /sys directory. The devices which were detected by this function won't be written to blkid.tab cache file. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=533874 Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add sector size funcs to blkid.h.inKarel Zak2009-11-021-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add BLKID_{VERSION,DATE} to blkid.hKarel Zak2009-10-271-0/+321
The original e2fsprogs has BLKID_{VERSION,DATE} macros in blkid.h. Although the macros are not updated for many years in e2fsprogs. So I guess nobody uses it. Signed-off-by: Karel Zak <kzak@redhat.com>