summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-02-18fsck: cosmetic changes (NLS, paths, ...)Karel Zak1-3/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18lib: make open_device() optional in fsprobe.cKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18fsck: move fsck from e2fsprogs to util-linux-ngKarel Zak1-0/+199
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-17build-sys: use pkg-config for blkid and volume_idKarel Zak1-1/+1
It seems that blkid.pc from e2fsprogs has been fixed: $ pkg-config --libs blkid -lblkid and the pkg-config does not return any other extra libraries (such -luuid or -ldevmapper). Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-17Merge branch 'stable/v2.14'LaMont Jones1-0/+120
Conflicts: fdisk/fdisk.c fdisk/partname.c include/blkdev.h mount/fstab.c mount/lomount.c mount/mount.8 mount/umount.c schedutils/chrt.c schedutils/ionice.1 sys-utils/Makefile.am sys-utils/ipcs.c sys-utils/rtcwake.c
2009-02-17mount: generic blkid/volume_id wrapper, use blkid_evaluate_*Karel Zak1-0/+388
* moves the generic libblkid/libvolume_id wrapper (fsprobe.c) from mount/ to lib/. We'll use the wrapper in cfdisk and fsck. The wrapper supports: - obsolete volume_id (udev) - obsolete libblkid (e2fsprogs) - libblkid (util-linux-ng) * mount, umount and swapon when linked against the new libblkid use - low-level probing code to read LABEL, UUID or FSTYPE from a device - high-level blkid_evaluate_spec() to convert LABEL/UUID to devname Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11mount: move realpath.c code to lib/Karel Zak1-0/+152
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-12lib: add __BYTE_ORDER to md5.cKarel Zak1-1/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-08lib: add __BYTE_ORDER to md5.cKarel Zak1-1/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-08-11mount: add fallback for versionsort()Karel Zak1-0/+120
I was trying to build util-linux-ng on uclibc and it failed | lomount.c: In function 'looplist_next': | lomount.c:223: error: 'versionsort' undeclared (first use in this function) | lomount.c:223: error: (Each undeclared identifier is reported only once | lomount.c:223: error: for each function it appears in.) | make[2]: *** [mount-lomount.o] Error 1 | which is understood because versionsort is GNU extension and uclibc does not implement it. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2008-07-24lib: blkdev.c clean up, non-linux supportSamuel Thibault1-8/+59
[kzak@redhat.com: split the original patch to small patches] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2008-07-24fdisk: don't use get_linux_version() for non-linuxSamuel Thibault1-2/+6
The get_linux_version() function is Linux-specific. Work around it in a few places. [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2008-04-14build-sys: ignore a bunch of generated files, mostly binariesJames Youngman1-0/+1
Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: move test_bkdev to lib/Karel Zak1-0/+9
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-07lib: add blkdev.{c,h}Stefan Krah1-0/+93
Now we duplicate BLK* ioctls on many places... This patch also fix BLKGETSIZE64 usage in dependence on kernel version. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-06lib: add linux_version.{c,h}Stefan Krah1-0/+25
Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-05-16build-sys: do not build convenience libraries in lib/Stepan Kasal1-7/+0
Build lib/*.c individually for each project which uses it, so that the right set of flags is applied each time. Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-01-03build-sys: remove generated autotools stuff from gitKarel Zak1-486/+0
The generated autotools stuff shouldn't be maintained by SCM. After check out from git use ./autogen.sh. For more details see README.devel. Signed-off-by: Karel Zak <kzak@redhat.com>
2006-12-07Imported from util-linux-2.13-pre6 tarball.Karel Zak1-1/+1
2006-12-07Imported from util-linux-2.13-pre4 tarball.Karel Zak1-0/+2
2006-12-07Imported from util-linux-2.13-pre3 tarball.Karel Zak1-2/+2
2006-12-07Imported from util-linux-2.13-pre2 tarball.Karel Zak2-98/+62
2006-12-07Imported from util-linux-2.13-pre1 tarball.Karel Zak20-581/+528
2006-12-07Imported from util-linux-2.12a tarball.Karel Zak2-19/+21
2006-12-07Imported from util-linux-2.12 tarball.Karel Zak1-1/+1
2006-12-07Imported from util-linux-2.11x tarball.Karel Zak4-1/+292
2006-12-07Imported from util-linux-2.11t tarball.Karel Zak3-3/+3
2006-12-07Imported from util-linux-2.11m tarball.Karel Zak1-0/+1
2006-12-07Imported from util-linux-2.11f tarball.Karel Zak1-2/+2
2006-12-07Imported from util-linux-2.11b tarball.Karel Zak6-8/+34
2006-12-07Imported from util-linux-2.10s tarball.Karel Zak6-4/+34
2006-12-07Imported from util-linux-2.10f tarball.Karel Zak6-180/+171
2006-12-07Imported from util-linux-2.9v tarball.Karel Zak6-15/+120
2006-12-07Imported from util-linux-2.9i tarball.Karel Zak8-0/+570