]>
err.no Git - util-linux/log
Fabian Groffen [Sat, 8 Jan 2011 18:49:38 +0000 (19:49 +0100)]
build-sys: use WORDS_BIGENDIAN to determine platform byte-order
Autoconf contains the right magic to determine the endianness on many
platforms next to Linux. This reverses previous commits to move away
from WORDS_BIGENDIAN:
"use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN"
This is necessary to compile on non Linux platforms like Darwin and
Solaris.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Davidlohr Bueso [Thu, 6 Jan 2011 12:08:43 +0000 (09:08 -0300)]
wall: add usage function
Instead of using an ugly goto statement, we can add a proper usage function.
This also adds the undocumented '-n' option to the output string.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 20:08:11 +0000 (17:08 -0300)]
partx: fix typo in partx.8
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:19 +0000 (16:54 -0300)]
disk-utils: fix manpage typos
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:16 +0000 (16:54 -0300)]
column: fix column.1 typo
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:11 +0000 (16:54 -0300)]
findmnt: fix manpage typos
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:05 +0000 (16:54 -0300)]
sys-utils: fix manpage typos
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:01 +0000 (16:54 -0300)]
schedutils: fix typos
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Mon, 17 Jan 2011 13:00:53 +0000 (14:00 +0100)]
umount: call is_loop_autoclear() for all loopdevs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 14 Jan 2011 14:49:07 +0000 (15:49 +0100)]
include: fix list.h ifdefs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 14 Jan 2011 13:53:45 +0000 (14:53 +0100)]
docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 13 Jan 2011 12:34:31 +0000 (13:34 +0100)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 13 Jan 2011 09:43:33 +0000 (10:43 +0100)]
libmount: improve fstab/mtab options usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Jan 2011 15:25:35 +0000 (16:25 +0100)]
mount: fix reference to cifs-utils in mount.8
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=651035
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Jan 2011 11:49:47 +0000 (12:49 +0100)]
TODO: use rpmatch() for sfdisk
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jan 2011 13:41:42 +0000 (14:41 +0100)]
mount: fix gcc warning
Karel Zak [Mon, 10 Jan 2011 13:31:23 +0000 (14:31 +0100)]
libmount: add mount(8) sample
This code is going to be used as mount(8) replacement in the next
major release (2.20). For now this mount(8) implementation does not
support loopdevs initialization.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jan 2011 13:29:51 +0000 (14:29 +0100)]
libmount: properly canonicalize source and target
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jan 2011 11:43:32 +0000 (12:43 +0100)]
mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code
Reported-by: silvan minghetti <bu1137@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jan 2011 10:18:51 +0000 (11:18 +0100)]
lsblk: use "RM" for removable
Suggested by Przemoc <noreply-comment@blogger.com> at my blog.
Signed-off-by: Karel Zak <kzak@redhat.com>
Alexey Gladkov [Wed, 5 Jan 2011 18:22:51 +0000 (21:22 +0300)]
unshare: fix SIGSEGV on invalid command line option
$ unshare --hel
Segmentation fault
The last element of longopts has to be filled with zeros.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Karel Zak [Wed, 5 Jan 2011 15:50:47 +0000 (16:50 +0100)]
fdisk: re-print prompt after maybe_exit()
after
Do you really want to quit? n
the read_chars() has to re-print the original prompt and ask again
for new input. For example:
Partition number (1-4, default 3): <-- CTRL-D
Do you really want to quit? n
Partition number (1-4, default 3): 3 <-- ask again
First sector (411648-
1023999 , default 411648):
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Sun, 2 Jan 2011 21:58:13 +0000 (22:58 +0100)]
include: add fallback for rpmatch()
Simple replacement code with hardcoded y/n responses to allow
compilation on systems without rpmatch() such as Cygwin.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Sun, 2 Jan 2011 21:58:12 +0000 (22:58 +0100)]
fdisk: quit with a single CTRL-D, confirm if necessary
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Karel Zak [Wed, 5 Jan 2011 12:41:44 +0000 (13:41 +0100)]
build-sys: release++ (v2.19-rc1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Jan 2011 12:39:35 +0000 (13:39 +0100)]
build-sys: ignore generated ltmain.sh
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Jan 2011 12:26:38 +0000 (13:26 +0100)]
docs: update v2.19 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Jan 2011 12:17:12 +0000 (13:17 +0100)]
build-sys: use generated libtool-2 stuff
The commit
60a4edd66200be829560dce0d41a02fc70cef4f5 temporary disabled
libtool-2 in autogen.sh. It seems that libtool-2 in available in
many distributions now, so we don't have to manage the generated .m4
libtool files in git anymore.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Jan 2011 12:05:18 +0000 (13:05 +0100)]
po: refresh gl and zh_TW
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Jan 2011 11:49:05 +0000 (12:49 +0100)]
build-sys: cleanup autogen.sh
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Jon Grant [Sat, 1 Jan 2011 17:21:46 +0000 (17:21 +0000)]
docs: correct spelling mistakes in DEPRECATED file
Signed-off-by: Jon Grant <jg@jguk.org>
Karel Zak [Tue, 4 Jan 2011 23:41:00 +0000 (00:41 +0100)]
docs: add v2.19 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 22:07:28 +0000 (23:07 +0100)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 21:57:58 +0000 (22:57 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Wei-Lun Chao [Tue, 4 Jan 2011 21:48:06 +0000 (22:48 +0100)]
po: add zh_TW.po (from translationproject.org)
Fran Diéguez [Tue, 4 Jan 2011 21:48:06 +0000 (22:48 +0100)]
po: add gl.po (from translationproject.org)
Clytie Siddall [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update vi.po (from translationproject.org)
Jakub Bogusz [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update pl.po (from translationproject.org)
Benno Schulenberg [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update nl.po (from translationproject.org)
Makoto Kato [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update ja.po (from translationproject.org)
Gabor Kelemen [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update hu.po (from translationproject.org)
Milan Bouchet-Valat [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update fr.po (from translationproject.org)
Karel Zak [Tue, 4 Jan 2011 21:36:09 +0000 (22:36 +0100)]
remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 20:35:15 +0000 (21:35 +0100)]
agetty: use ignore_result() or write(1, ...)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 20:34:45 +0000 (21:34 +0100)]
lib: [c] add ignore_result()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 19:15:51 +0000 (20:15 +0100)]
docs: fix typos in man pages
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664458
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664294
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664182
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Jan 2011 13:01:33 +0000 (14:01 +0100)]
findmnt: add --submounts option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Jan 2011 23:43:56 +0000 (00:43 +0100)]
libmount: cleanup API and docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Jan 2011 10:01:42 +0000 (11:01 +0100)]
mount: use verbose info for HAVE_LIBMOUNT_MOUNT only
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Jan 2011 22:04:47 +0000 (23:04 +0100)]
tests: use findmnt(8) for remount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Jan 2011 21:56:31 +0000 (22:56 +0100)]
tests: use findmnt(8) for mount --move test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Jan 2011 21:55:37 +0000 (22:55 +0100)]
mount: improve verbose info
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 1 Jan 2011 23:31:16 +0000 (00:31 +0100)]
libmount: fix tab_update test program
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 1 Jan 2011 23:12:11 +0000 (00:12 +0100)]
tests: refresh libmount fstab parser tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 1 Jan 2011 21:45:29 +0000 (22:45 +0100)]
tests: fix strtosize() test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Dec 2010 21:12:55 +0000 (22:12 +0100)]
findmnt: add MAJ:MIN
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 24 Dec 2010 00:10:42 +0000 (01:10 +0100)]
libblkid: support LIBBLKID_DEBUG= env.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 24 Dec 2010 00:07:48 +0000 (01:07 +0100)]
lib: [env] consolidate safe_getenv() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Dec 2010 22:52:45 +0000 (23:52 +0100)]
libmount: cleanup mount.sym
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Dec 2010 22:23:36 +0000 (23:23 +0100)]
libmount: cleanup lock API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Dec 2010 22:15:58 +0000 (23:15 +0100)]
libmount: cleanup context API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 23 Dec 2010 21:59:09 +0000 (22:59 +0100)]
libmount: don't export some cache.c files
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Dec 2010 12:15:04 +0000 (13:15 +0100)]
libmount: better work with mtab options
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Dec 2010 12:13:45 +0000 (13:13 +0100)]
tests: check for mtab
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Dec 2010 12:12:57 +0000 (13:12 +0100)]
umount: add HAVE_LIBMOUNT_MOUNT code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Dec 2010 12:12:42 +0000 (13:12 +0100)]
mount: rewrite HAVE_LIBMOUNT_MOUNT code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Dec 2010 08:55:25 +0000 (09:55 +0100)]
mount: add mnt_init_debug()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Dec 2010 08:54:52 +0000 (09:54 +0100)]
libmount: don't use NULL pointer in mntenv
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Dec 2010 08:29:13 +0000 (09:29 +0100)]
losetup: remove unnecessary fstab.h include
The file is necessary for mount(8) only and should not be used in
the generic sundries.c. utils.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 19 Dec 2010 20:22:51 +0000 (21:22 +0100)]
mount: use libmount for mtab/utab updates
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 19 Dec 2010 20:20:44 +0000 (21:20 +0100)]
libmount: fix mount.h includes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 18 Dec 2010 00:08:25 +0000 (01:08 +0100)]
libmount: clean mnt_update_* target usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 17 Dec 2010 16:46:24 +0000 (17:46 +0100)]
libmount: cleanup MS_RDONLY usageand mnt_update_* symbols
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Dec 2010 15:26:23 +0000 (16:26 +0100)]
tests: add libmount utab tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Dec 2010 14:06:42 +0000 (15:06 +0100)]
libmount: minor fixes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Dec 2010 14:06:25 +0000 (15:06 +0100)]
findmnt: use new libmount functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Dec 2010 22:50:55 +0000 (23:50 +0100)]
libmount: use separate buffer for userspace options, add mount attributes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:16:47 +0000 (00:16 +0100)]
mount: read mtab by libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:16:07 +0000 (00:16 +0100)]
build-sys: add --enable-libmount-mount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:09:40 +0000 (00:09 +0100)]
libmount: add mntent.h compatible stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:08:11 +0000 (00:08 +0100)]
libmount: cleanup mangle() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 10:47:20 +0000 (11:47 +0100)]
libmount: minor fixes in cache.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 3 Dec 2010 20:13:52 +0000 (21:13 +0100)]
libmount: remove utab from API, update tests
The utab file is private libmount stuff. Anything about utab should
not be exported by library API.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Nov 2010 13:33:29 +0000 (14:33 +0100)]
libmount: fix to work with btrfs subvolume user mounts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Nov 2010 22:22:53 +0000 (23:22 +0100)]
libmount: use better format for utab, improve bind mounts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 19:39:55 +0000 (20:39 +0100)]
libmount: fix utab file and dir modes, add new debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 12:06:46 +0000 (13:06 +0100)]
tests: improve libmount context mount and umount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 11:21:12 +0000 (12:21 +0100)]
libmount: add new debug messages, fix umount return code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 23:26:49 +0000 (00:26 +0100)]
findmnt: fix exit code
... returns 1 if nothing printed.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:21:53 +0000 (23:21 +0100)]
findmnt: use new tab parsing API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:15:54 +0000 (23:15 +0100)]
libmount: fix context mount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:15:00 +0000 (23:15 +0100)]
tests: add basic libmount tests for mounting
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 19 Nov 2010 12:15:19 +0000 (13:15 +0100)]
libmount: fix mnt_optstr_remove_option_at()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 10 Nov 2010 00:25:07 +0000 (01:25 +0100)]
libmount: support /{proc,etc}/filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 11:22:01 +0000 (12:22 +0100)]
tests: add utab update tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 11:21:41 +0000 (12:21 +0100)]
libmount: add debug messages and fix typos in tab_update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 10:14:44 +0000 (11:14 +0100)]
libmount: rewrite update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 10:12:35 +0000 (11:12 +0100)]
libmount: fix Makefile and tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 2 Nov 2010 12:54:47 +0000 (13:54 +0100)]
libmount: improve function for work with mtab paths
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 2 Nov 2010 12:52:47 +0000 (13:52 +0100)]
libmount: fix comment for mnt_unlock_file()
Signed-off-by: Karel Zak <kzak@redhat.com>