]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Sami Kerola [Sat, 25 Jun 2011 15:35:59 +0000 (17:35 +0200)]
Merge branch 'master', remote-tracking branch 'upstream/master'
Karel Zak [Thu, 23 Jun 2011 14:06:27 +0000 (16:06 +0200)]
libmount: allow to convert /dev/loopN to backing filename
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Jun 2011 13:19:37 +0000 (15:19 +0200)]
libmount: cleanup return codes in mount sample
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Jun 2011 13:07:55 +0000 (15:07 +0200)]
libmount: add support for mount -a
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Jun 2011 10:29:00 +0000 (12:29 +0200)]
libmount: fix fstype caching
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Jun 2011 10:24:02 +0000 (12:24 +0200)]
libmount: rename in cache.c
* don't use mnt_ prefix for static functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Jun 2011 10:19:30 +0000 (12:19 +0200)]
libmount: clean up cache.c
* rename fields in the cache entry to be more readable...
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jun 2011 11:34:47 +0000 (13:34 +0200)]
libmount: add generic function to read table for context
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Jun 2011 12:58:37 +0000 (14:58 +0200)]
libmount: allow to set parser callback to context
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Jun 2011 09:46:36 +0000 (11:46 +0200)]
mountpoint: add new command
This is libmount based re-implementation of the mountpoint(1) command.
The original implementation is maintained in sysvinit suite.
The mountpoint(1) in util-linux is not enabled by default (for now) --
use --enable-mountpoint to enable the util.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Jun 2011 07:56:22 +0000 (09:56 +0200)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 14:42:03 +0000 (16:42 +0200)]
blkid: list all known filesystems/RAIDs (add -k option)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 14:11:04 +0000 (16:11 +0200)]
libblkid: add debug message
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 14:10:36 +0000 (16:10 +0200)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 11:58:41 +0000 (13:58 +0200)]
lib: [procutils.c] improve robustness
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 11:51:26 +0000 (13:51 +0200)]
build-sys: move BUILD_SCHEDUTILS to top-level Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 20 Jun 2011 11:48:40 +0000 (13:48 +0200)]
lib: [linux_version.c] simplify version parsing
Signed-off-by: Karel Zak <kzak@redhat.com>
Stephen Hemminger [Thu, 16 Jun 2011 20:54:07 +0000 (16:54 -0400)]
lscpu: detect VMware hypervisor
Add detection of VMware.
Tested on VMware Workstation 7.1.4
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Samuel Thibault [Mon, 20 Jun 2011 10:48:35 +0000 (12:48 +0200)]
misc: hurd build fixes
* Make blkdev_is_misaligned return 0 when BLKALIGNOFF is not available.
* Make procutils.c include c.h to get a PATH_MAX replacement.
* Provide agetty.c USE_SYSLOG, DEFAULT_VCTERM and DEFAULT_STERM
defaults for Hurd.
* Make agetty.c only deal with OFDEL, XCASE and VSWTCH if they are
available.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Jun 2011 21:30:29 +0000 (23:30 +0200)]
mount: add ufstype=ufs2 to mount.8
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=691338
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Jun 2011 21:20:12 +0000 (23:20 +0200)]
login: fix typos in man page
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=675181
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Jun 2011 15:10:53 +0000 (17:10 +0200)]
fsck.minix: remove unused variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Richard W.M. Jones [Mon, 13 Jun 2011 16:43:11 +0000 (17:43 +0100)]
libblkid: don't ignore swap UUID if only first byte is zero
[kzak@redhat.com: - remove memcmp(zero_uuid, ...), library already
checks for empty UUIDs]
Signed-off-by: "Richard W.M. Jones" <rjones@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Davidlohr Bueso [Thu, 9 Jun 2011 16:41:12 +0000 (12:41 -0400)]
mkfs.minix: add fs version options
Like the original minix mkfs, add the -1 and -2 argument options to specify the
version of the filesystem to create.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Thu, 9 Jun 2011 16:01:09 +0000 (12:01 -0400)]
mkfs.minix: standardize superblock attribute settings
Because of the dependence of fs_version, some superblock attributes will vary,
so simplify the logic of assigning values to maxsize and the amount of zones
related to each filesystem, thus making setup_tables() more readable.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Tue, 14 Jun 2011 12:22:58 +0000 (14:22 +0200)]
test_sysinfo: fix printf format
Signed-off-by: Karel Zak <kzak@redhat.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:48 +0000 (16:52 -0600)]
hwclock: Don't use asm/io.h if sys/io.h can't be found
[kzak@redhat.com: - check for obsolete asm/io.h in configure.ac]
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:47 +0000 (16:52 -0600)]
test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE.
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:46 +0000 (16:52 -0600)]
lib: [tt.c] Fix mbs_width macro for systems without WIDECHAR
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:45 +0000 (16:52 -0600)]
checktty: Use NGROUPS_MAX instead of NGROUPS
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:44 +0000 (16:52 -0600)]
fsck, checktty, flock: Use more portable includes.
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Josiah Worcester [Wed, 8 Jun 2011 22:52:43 +0000 (16:52 -0600)]
fdisk, display, hexdump.h: Use standard C types instead of u_int, u_char, u_long, etc.
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
Karel Zak [Fri, 10 Jun 2011 13:39:56 +0000 (15:39 +0200)]
libmount: add mount support for loopdevs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 10 Jun 2011 13:38:13 +0000 (15:38 +0200)]
lib: [loopdev.c] cleanup flags usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jun 2011 20:43:51 +0000 (22:43 +0200)]
libmount: minor changes in sample program
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jun 2011 20:21:51 +0000 (22:21 +0200)]
tests: update blkid MD test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jun 2011 20:04:24 +0000 (22:04 +0200)]
build-sys: use top-level directory for libblkid rather than shlibs/blkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jun 2011 19:59:52 +0000 (21:59 +0200)]
build-sys: use top-level directory for libmount rather than shlibs/mount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jun 2011 19:54:05 +0000 (21:54 +0200)]
build-sys: use top-level directory for libuuid rather than shlibs/uuid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 12:05:05 +0000 (14:05 +0200)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Davidlohr Bueso [Thu, 2 Jun 2011 23:08:46 +0000 (19:08 -0400)]
mkfs.minix: use inode wrappers
Use a common function for creating the root and bad inode, without worring
about the fs version.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Wed, 8 Jun 2011 11:22:13 +0000 (13:22 +0200)]
docs: update DEPRECATED file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 11:20:37 +0000 (13:20 +0200)]
simpleinit: remove this deprecated set of utils
Signed-off-by: Karel Zak <kzak@redhat.com>
Lukas Czerner [Tue, 7 Jun 2011 13:13:44 +0000 (15:13 +0200)]
mount.8: remove reprecated bh/nobh options from the manual page
Bh and nobh mount option has been deprecated in ext4
(
206f7ab4f49a2021fcb8687f25395be77711ddee ) and in ext3
(
4c4d3901225518ed1a4c938ba15ba09842a00770 )
so remove those options from documentation.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Davidlohr Bueso [Mon, 6 Jun 2011 13:52:30 +0000 (09:52 -0400)]
minix: fix warning
This patch fixes an unused variable warning.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Francesco Cosoleto [Thu, 2 Jun 2011 19:17:57 +0000 (21:17 +0200)]
fstrim, setarch: replace error() with err()
This should improve a bit the portability as error() is a GNU extension and
util-linux provides fallbacks for err.h functions.
Fix compilation with icc, broken due to a reference to `__builtin_va_arg_pack'
in error.h using the -gcc default option.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Sami Kerola [Tue, 31 May 2011 18:31:25 +0000 (20:31 +0200)]
tests: add lscpu dumps from three Dell's & a Xen
x86_64-dell_poweredgeR610
Ubuntu 11.04 kernel 2.6.38-8
x86_64-dell_poweredge1950
Red Hat EL 4.5 kernel 2.6.9-55.ELsmp
x86_64-dell_e4310
Red Hat EL 5.3 kernel 2.6.18-194.17.4.el5
x86_64-el5xen
Red Hat EL 5.6 kernel 2.6.18-238.el5xen
Signed-off-by: Sami Kerola <sami.kerola@tomtom.com>
Karel Zak [Wed, 8 Jun 2011 10:50:27 +0000 (12:50 +0200)]
cfdisk: fix gcc warning (unused variable)
cfdisk.c: In function ‘fp_printf’:
cfdisk.c:1760:12: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 10:44:14 +0000 (12:44 +0200)]
fstrim: cast from __u64 to standard C types
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 10:27:03 +0000 (12:27 +0200)]
hwclock: remove unused variables
hwclock.c: In function ‘set_hardware_clock’:
hwclock.c:467:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
hwclock.c: In function ‘main’:
hwclock.c:1461:7: warning: variable ‘ARCconsole’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 10:22:21 +0000 (12:22 +0200)]
cytune: remove unused variable
cytune.c: In function ‘summary’:
cytune.c:105:9: warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 10:18:49 +0000 (12:18 +0200)]
namei: remove unused variable
namei.c: In function ‘print_namei’:
namei.c:368:16: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 10:16:08 +0000 (12:16 +0200)]
blkid: don't free() uninitialized variable
blkid.c: In function ‘main’:
blkid.c:656:6: warning: ‘res’ may be used uninitialized in this function [-Wuninitialized]
blkid.c:623:9: note: ‘res’ was declared here
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 09:32:53 +0000 (11:32 +0200)]
login: cleanup unused variables
login.c: In function ‘main’:
login.c:389:40: warning: variable ‘errsv’ set but not used [-Wunused-but-set-variable]
login.c:389:9: warning: variable ‘ask’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 8 Jun 2011 09:22:25 +0000 (11:22 +0200)]
libmount: fix uninitialized variable in sample
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Mon, 23 May 2011 20:50:07 +0000 (22:50 +0200)]
colrm: manual update
Inform about long, help & version and options.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Mon, 23 May 2011 20:42:15 +0000 (22:42 +0200)]
colrm: gotos, long options and argument checking
Unnecessary goto jumps where replaced by a simple function, and
two loops. Long options support help and version, and the two
arguments this command has are now validated with strtoul_or_err.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Mon, 23 May 2011 19:14:16 +0000 (21:14 +0200)]
col: check with strtol_or_err option argument
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Mon, 6 Jun 2011 10:35:26 +0000 (12:35 +0200)]
lib: [linux_version.c] accommodate two-component linux version (e.g. 3.0)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jun 2011 12:53:42 +0000 (14:53 +0200)]
mount: canonicalize fstab mnt_dir
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=709681
Signed-off-by: Karel Zak <kzak@redhat.com>
Davidlohr Bueso [Wed, 1 Jun 2011 23:27:14 +0000 (19:27 -0400)]
partx: remove unused headers
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 1 Jun 2011 22:33:07 +0000 (18:33 -0400)]
fsck.minix: use common functionalitly
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 1 Jun 2011 22:33:02 +0000 (18:33 -0400)]
mkfs.minix: use common functionality
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 1 Jun 2011 22:32:56 +0000 (18:32 -0400)]
minix: add common functionality
Unite common features and code present in mkfs.minix and fsck.minix into a
single minix.h header. This eases the reading and modification of both
programs.
Futhermore:
- Replace version2 variable with fs_version (handy when v3 support
comes along)
- For superblock attributes and inode information, use small inline
functions instead of ugly macros.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Thu, 2 Jun 2011 11:25:19 +0000 (13:25 +0200)]
libmount: use mnt_table_get_fs_root() in utab code
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Tue, 24 May 2011 20:56:44 +0000 (22:56 +0200)]
docs: colcrt manual update
Inform about long, help & version and options.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:43 +0000 (22:56 +0200)]
colctr: use long options and clean coding style
This commit introduces help & version options.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:42 +0000 (22:56 +0200)]
tests: add colrm basic test
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:38 +0000 (22:56 +0200)]
lib: add strtoul_or_err() function
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Tue, 24 May 2011 20:56:37 +0000 (22:56 +0200)]
col: coding style changes
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:36 +0000 (22:56 +0200)]
docs: col manual update
Long options, with help & version, added. The commint also has
previously undocumented switch `-h convert spaces to tabs' as a
part of col.1 man page.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:35 +0000 (22:56 +0200)]
col: use long options
This commit introduces help & version options.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:34 +0000 (22:56 +0200)]
pg: return value warning fix
void function 'makeprint' should not return void expression
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:33 +0000 (22:56 +0200)]
rev: mark signo unused in sig_handler
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 24 May 2011 20:56:32 +0000 (22:56 +0200)]
pg: use size_t for wcstombs() return code
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Tue, 31 May 2011 16:02:29 +0000 (18:02 +0200)]
mount: use libmount to detect already mounted bind mounts
It's pretty tricky to detect that a bind mount from fstab is already
mounted on system without /etc/mtab. Let's use functionality from
libmount.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=701176
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 31 May 2011 16:01:36 +0000 (18:01 +0200)]
libmount: add mnt_table_is_mounted()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 30 May 2011 20:59:35 +0000 (22:59 +0200)]
libblkid: use sysfs_init() more carefully
Reported-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 30 May 2011 15:22:07 +0000 (17:22 +0200)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 30 May 2011 15:20:27 +0000 (17:20 +0200)]
libblkid: add some debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 30 May 2011 14:37:31 +0000 (16:37 +0200)]
lib: [loopdev.c] add module for work loop devices
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 27 May 2011 12:47:40 +0000 (14:47 +0200)]
lib: [sysfs.c] fix double free
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Thu, 26 May 2011 13:17:25 +0000 (15:17 +0200)]
This adds a second parameter to size_to_human_string() to return a
string with a different format based on the following flags:
SIZE_SUFFIX_1LETTER = "1K"
SIZE_SUFFIX_3LETTER = "1KiB",
SIZE_SUFFIX_SPACE = "1 KiB" or "1 K"
[kzak@redhat.com: - rename flags to SIZE_SUFFIX_* format,
- fix suffix[] buffer size
- add 3 letter version to the test]
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sat, 21 May 2011 13:02:10 +0000 (15:02 +0200)]
build-sys: use AUTOMAKE_OPTIONS = gnu
The change will cause make dist to have INSTALL file from
automake release, which hopefully is more up to date than
manually maintained version.
The gnu option will also require ChangeLog to be present, and
without doubts no-one wants to maintain that manually. I added
file to reference link to internet git repository view.
At the time of make dist current tag is added to the ChangeLog
reference which will make release to point exactly to the point
where changes ended. Minor drawback is that untagged make dist
releases will contain a broken link in ChangeLog.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 21 May 2011 13:02:09 +0000 (15:02 +0200)]
build-sys: stop building line(1) by default
Align build system behaviour with DEPRECATED file.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 21 May 2011 10:25:54 +0000 (12:25 +0200)]
build-sys: add required files to dist
Files mkfs.h procutils.h sysfs.h where missing from dist file.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Thu, 26 May 2011 08:30:23 +0000 (10:30 +0200)]
tests: test column(1) with multiple input files
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 26 May 2011 08:23:50 +0000 (10:23 +0200)]
column: fix problems with uninitialized variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 26 May 2011 07:54:13 +0000 (09:54 +0200)]
Merge branch 'column' of git://github.com/kerolasa/lelux-utiliteetit into column
* 'column' of git://github.com/kerolasa/lelux-utiliteetit:
tests: add column tests
column.c: global variables removed
column.c: validate numeric user inputs
column.c: free memory before exit
column.c: make table function clarification
column.c: coding style fixes
column.c: add version printing
column.c: replace emalloc with xcalloc
Karel Zak [Wed, 25 May 2011 14:50:44 +0000 (16:50 +0200)]
build-sys: cleanup lib/ tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 24 May 2011 11:30:48 +0000 (13:30 +0200)]
libblkid: improve blkid__scan_dir
Karel Zak [Mon, 23 May 2011 23:15:55 +0000 (01:15 +0200)]
docs: TODO update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 23 May 2011 11:06:45 +0000 (13:06 +0200)]
libblkid: add ID_PART_ENTRY_{OFFSET,SIZE,DISK}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 23 May 2011 10:53:18 +0000 (12:53 +0200)]
libblkid: use partno for partitions mapped by DM
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 23 May 2011 10:09:08 +0000 (12:09 +0200)]
libblkid: found whole-disk for partitions mapped by kpartx
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Thu, 19 May 2011 20:35:05 +0000 (22:35 +0200)]
tests: add column tests
Very basic regression tests for the column(1) command.
http://permalink.gmane.org/gmane.linux.utilities.util-linux-ng/4066
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 1 May 2011 17:26:49 +0000 (19:26 +0200)]
column.c: global variables removed
Variables from global scope are moved to main, and passed as
function arguments where ever they are needed.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 1 May 2011 17:24:47 +0000 (19:24 +0200)]
column.c: validate numeric user inputs
Use strtol_or_err from strutils.h to check numeric user input is
sane.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 1 May 2011 17:20:25 +0000 (19:20 +0200)]
column.c: free memory before exit
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 1 May 2011 17:16:29 +0000 (19:16 +0200)]
column.c: make table function clarification
Readability enchancement, and few variable type changes to be
more proper.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>