summaryrefslogtreecommitdiffstats
path: root/shlibs
Commit message (Collapse)AuthorAgeFilesLines
...
* libmount: use mnt_fs for mtab APIKarel Zak2011-01-032-85/+71Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix datatype for mountflagsKarel Zak2011-01-033-12/+14
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove unnecessary options containerKarel Zak2011-01-035-1630/+2Star
| | | | | | | It seems that we are able to be happy with option strings only. The mnt_optls stuff was over-engineering. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add support for mtab managmentKarel Zak2011-01-034-11/+968
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: correctly use "none" valuesKarel Zak2011-01-033-15/+25
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_optstr_get_mountflags()Karel Zak2011-01-033-0/+74
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve mnt_get_fs_root() and mnt_get_mountpoint()Karel Zak2011-01-032-9/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add uhelper=, improve mnt_split_optstr()Karel Zak2011-01-034-9/+29
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add unit test for mnt_copy_fs()Karel Zak2011-01-031-0/+29
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add utils to get FS root/mountpointKarel Zak2011-01-032-0/+94
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_copy_fs() and mnt_fs_set_root()Karel Zak2011-01-033-1/+92
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add unmangle/mangle() functions to APIKarel Zak2011-01-033-0/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove fs and tab printf functionsKarel Zak2011-01-035-219/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add {start,end}swith() functionsKarel Zak2011-01-033-1/+57
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_get_writable_mtab_path()Karel Zak2011-01-033-1/+42
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: clean up lock.cKarel Zak2011-01-031-52/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_tab_parse_mtab()Karel Zak2011-01-037-2/+113
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_split_optstr()Karel Zak2011-01-035-26/+152
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: don't return old data from optls iteratorKarel Zak2011-01-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: clean up mount.sym fileKarel Zak2011-01-031-10/+6Star
| | | | | | | The API is not stable yet, so it's possible to increment the current API version rather than create a new version. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_fs_get_root()Karel Zak2011-01-035-6/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add /etc/fstab.d supportKarel Zak2011-01-035-2/+113
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_tab_parse_stream()Karel Zak2011-01-033-34/+52
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: don't store filename to mnt_tabKarel Zak2011-01-034-70/+48Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve parser return codesKarel Zak2011-01-032-10/+26
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove mnt_tab_strerr()Karel Zak2011-01-035-149/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_tab_set_parser_errcb()Karel Zak2011-01-034-11/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: use PRId64 in PT parserKarel Zak2011-01-011-7/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: fix endian conversion bug in NILFSKarel Zak2010-12-301-1/+1
| | | | | Reported-by: Andrew Nayenko <resver@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: NTFS volume label not foundKarel Zak2010-12-031-1/+1
| | | | | Reported-by: Hugh Eaves <hugh@hugheaves.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-3013-37/+37
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add LINHIB0001 signature to swap proberKarel Zak2010-11-301-0/+12
| | | | | | | | | The new swsuspend signature has been added by commit 3624eb04c24861ab296842414f9752a393e68372 to kernel 2.6.37-rc1. Reported-by: "Dr. David Alan Gilbert" <linux@treblig.org> Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/682176 Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: remove unnecessary __UCLIBC__ checkMike Frysinger2010-11-291-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: 256MiB is min size of btrfsKarel Zak2010-11-261-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: remove unused variableKarel Zak2010-11-231-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [strutils] general purpose string handling functionsDavidlohr Bueso2010-11-232-48/+0Star
| | | | | | | | | | | | | This patch replaces a few functions used throughout the source: * Renames getnum (from schedutils) to strtol_or_err * Moves strtosize (from lib/strtosize.c) * Moves xstrncpy (from include/xstrncpy.h) * Adds strnlen, strnchr and strndup if not available (remove it from libmount utils) A few Makefile.am files were modified to compile accordingly along with trivial renaming in schedutils source code. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* libblkid: cache is incorrectly revalidatedKarel Zak2010-11-232-6/+5Star
| | | | | | | | | | | | | | | | | for example: # echo "password" | cryptsetup luksFormat /dev/loop7 # blkid /dev/loop7 /dev/loop7: UUID="09240a80-1cf1-456d-9a6e-a35b39dc1f2b" TYPE="crypto_LUKS" # pvcreate -ff /dev/loop7 # blkid /dev/loop7 # the second blkid call has to return info about LVM. Reported-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_probe_get_sectors()Davidlohr Bueso2010-11-154-0/+14
| | | | | | | 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 magic to vfatJeroen Oortwijn2010-11-081-0/+1
| | | | | | | | Add the "FAT " magic to vfat. There are devices that use this magic in their FAT filesystem. Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/491476 Signed-off-by: Jeroen Oortwijn <oortwijn@gmail.com>
* libblkid: add signature to FAT32 fsinfo blockJeroen Oortwijn2010-11-011-0/+1
| | | | | | | | | Add 0x41645252 to the list of valid signatures of the FAT32 fsinfo block. It isn't a valid signature, but there are devices that use this signature in their FAT32 filesystem. Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/589369 Signed-off-by: Jeroen Oortwijn <oortwijn@gmail.com>
* libmount: optimize blkid_devno_to_devname()Karel Zak2010-10-251-23/+65
| | | | | | | | The brutal force /dev directory scanning should be used as a fallback solution only. Currently, almost all systems use udev and we can read the name from /sys/block/<maj>:<min> symlink. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: fix memory leakIgor Bazhitov2010-10-211-0/+2
| | | | | | | | search_type and search_handle fields of blkid_dev_iterate iterator are not being freed after usage. Add cleanup code. Signed-off-by: Igor Bazhitov <igor.bazhitov@gmail.com>
* libblkid: fix MBR detection on iPod and cleanup vfat codeKarel Zak2010-10-154-196/+186Star
| | | | | | | | | | | - move all FAT code to superblocks/vfat.c only - add a generic function to verify FAT superblock and use it in FAT prober as well as in MBR parser - add a more robust FAT cluster_count check (it seems that iPod contains an "almost valid" FAT superblock before MBR) Reported-by: Davidlohr Bueso <dave.bueso@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: consolidate magic strings detection codeKarel Zak2010-10-154-49/+46Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add searching in attributes dir to BeFSJeroen Oortwijn2010-10-071-60/+323
| | | | | | | | Add searching for the be:volume_id attribute in the attributes directory of the root directory. UUID is now always set when the root directory contains the be:volume_id attribute. Signed-off-by: Jeroen Oortwijn <oortwijn@gmail.com>
* libblkid: don't probe directoriesKarel Zak2010-09-151-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: don't ignore zero for SBMAGIC_OFFSETKarel Zak2010-09-071-4/+3Star
| | | | | | The side effect of this bug is that wipefs(8) does not report LUKS... Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove unused mnt_strconcat3()Karel Zak2010-08-202-29/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: wrong PT detection on RAID0Karel Zak2010-08-131-1/+1
| | | | | Reported-by: Yulia Kopkova <ykopkova@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: remove dead code sectionValerie Aurora2010-08-041-47/+0Star
| | | | | | | | | | commit 2d12ea54c70c9e6a2b77ca6f7b6a786309a22fa7 Author: Valerie Aurora <vaurora@redhat.com> Date: Thu Jul 29 12:47:35 2010 -0700 libblkid: remove dead code section (duplication of ext* constants) Signed-off-by: Valerie Aurora <vaurora@redhat.com>