Age | Commit message (Collapse) | Author | Files | Lines |
|
The current heuristic for conversion from partition to whole-disk
is based on device names. It's pretty poor. This patch replaces this
code with blkid_devno_to_wholedisk(). This solution is based on
/sys FS and it works for arbitrary partitioned devices.
The another problem is the way how fsck determines stacked devices.
The current code checks device name for "md" prefix only. It does not
care about DM, dm-ccypt, and so on. This patch uses
/sys/block/.../slaves/, but it does not fully resolves dependencies
between all devices. The method is simple -- fsck does not check
stacked devices in parallel with any other device.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
The same effect is gotten by changing SUBDIRS in the top-level
Makefile.am.
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
I use busybox for most of the utilities, still lacks a few that I wish to use
from util-linux...
So mount comes from busybox. And during the cross compile I don't want to
compile the mount dependencies only to make the configure script happy...
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Add support for static versions of mount, umount, losetup, fdisk,
and sfdisk.
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Here is a patch that disables linux-specific tools on non-linux targets.
Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-Off-By: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
There is not only one unique license for all code in utl-linux-ng. We
have mix of utils with Public Domain, BSD, GPLv2 or GPLv2+. This thing
should be more transparent to avoid misunderstanding.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
"find ... -exec rm {}" is unnecessarily slow.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
The is no point in distributing it.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
It gets distributed automaticaly.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
Wildcards in EXTRA_DIST break "make dist" for vpath build.
But plain directory names are ok.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
Automake mishandles dist_man_MANS. Using dist_noinst_DATA to work
around this is more elegant than using dist-hook.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
|
|
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>
|
|
Also, the patch makes "make mrproper" more robust.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
The patch adds tests/ directory with simple regression tests infrastructure.
Also, it adds the "ts-mount-paths" test that testing if all defined paths
(fstab, mtab, locks) are still same.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
This patch add all missing headers, man pages and README files to automake
stuff and "make dist-gzip" produces useful tarball now.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
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>
|
|
|
|
|