]> err.no Git - util-linux/log
util-linux
16 years agoMerge branch 'stable/v2.13'
LaMont Jones [Sat, 12 Jan 2008 05:36:45 +0000 (22:36 -0700)]
Merge branch 'stable/v2.13'

16 years agochangelog: release
LaMont Jones [Sat, 12 Jan 2008 05:32:37 +0000 (22:32 -0700)]
changelog: release

16 years agohwclockfirst.sh: yet more tweaks for LSB init
LaMont Jones [Wed, 9 Jan 2008 04:29:32 +0000 (21:29 -0700)]
hwclockfirst.sh: yet more tweaks for LSB init

Addresses-Debian-Bug: 459760
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agoMerge branch 'stable/v2.13'
LaMont Jones [Mon, 7 Jan 2008 03:54:12 +0000 (20:54 -0700)]
Merge branch 'stable/v2.13'

Conflicts:

AUTHORS
NEWS
configure.ac
debian/changelog
docs/v2.13.1-ReleaseNotes
po/ca.po
po/cs.po
po/da.po
po/de.po
po/es.po
po/et.po
po/fi.po
po/fr.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/nl.po
po/pt_BR.po
po/ru.po
po/sl.po
po/sv.po
po/tr.po
po/uk.po
po/util-linux-ng.pot
po/vi.po

Kept master version of non-debian/
merged debian/changelog, dropped 2.14~a0 version

16 years agoMerge commit 'origin/master'
LaMont Jones [Mon, 7 Jan 2008 03:49:07 +0000 (20:49 -0700)]
Merge commit 'origin/master'

Conflicts:

mount/mount.8

16 years agochangelog: release
LaMont Jones [Mon, 7 Jan 2008 03:26:12 +0000 (20:26 -0700)]
changelog: release

16 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Mon, 7 Jan 2008 03:20:08 +0000 (20:20 -0700)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

16 years agorenice: correctly detect errors in arguments
LaMont Jones [Mon, 7 Jan 2008 02:53:56 +0000 (19:53 -0700)]
renice: correctly detect errors in arguments

renice was using atoi(), which does no error detection, meaning that:
"renice +20 blah" was accepted as valid.

Addresses-Debian-Bug: 385245
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agorenice: correctly detect errors in arguments
LaMont Jones [Mon, 7 Jan 2008 02:53:56 +0000 (19:53 -0700)]
renice: correctly detect errors in arguments

renice was using atoi(), which does no error detection, meaning that:
"renice +20 blah" was accepted as valid.

Addresses-Debian-Bug: 385245
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agohwclock.sh: add full path to comment
LaMont Jones [Mon, 7 Jan 2008 02:27:01 +0000 (19:27 -0700)]
hwclock.sh: add full path to comment

Addresses-Debian-Bug: 418107
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agometa: mount should pre-depend on its libs
LaMont Jones [Mon, 7 Jan 2008 01:13:55 +0000 (18:13 -0700)]
meta: mount should pre-depend on its libs

Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agochangelog: release
LaMont Jones [Sun, 6 Jan 2008 19:50:34 +0000 (12:50 -0700)]
changelog: release

16 years agohwclockfirst: more LSB init cleanup
LaMont Jones [Sun, 6 Jan 2008 16:54:17 +0000 (09:54 -0700)]
hwclockfirst: more LSB init cleanup

Addresses-Debian-Bug: 458346
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agobuild-sys: disable syscall fallbacks for non-linux systems
Karel Zak [Tue, 18 Dec 2007 00:53:10 +0000 (01:53 +0100)]
build-sys: disable syscall fallbacks for non-linux systems

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoswapon: add sundries.h
Karel Zak [Mon, 17 Dec 2007 21:28:48 +0000 (22:28 +0100)]
swapon: add sundries.h

so we can compile with -fno-common.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: "nofail" mount option
Matthias Koenig [Mon, 17 Dec 2007 10:33:20 +0000 (11:33 +0100)]
mount: "nofail" mount option

It would be nice to have a mount option "nofail" indicating that mount
should not return an error if the device does not exit. This is useful
for hotpluggable devices which are configured in fstab and __might__
not exist at boot time.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agocfdisk: define portable {DEFAULT,ALTERNATE}_DEVICE
Samuel Thibault [Tue, 18 Dec 2007 02:00:45 +0000 (02:00 +0000)]
cfdisk: define portable {DEFAULT,ALTERNATE}_DEVICE

Set DEFAULT_DEVICE and ALTERNATE_DEVICE for GNU/Hurd and FreeBSD

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
16 years agosetterm: remove unnecessaty ifndef TCGETS
Samuel Thibault [Thu, 3 Jan 2008 15:46:05 +0000 (16:46 +0100)]
setterm: remove unnecessaty ifndef TCGETS

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomore: replace CBAUD with cfgetispeed()
Samuel Thibault [Thu, 3 Jan 2008 15:43:53 +0000 (16:43 +0100)]
more: replace CBAUD with cfgetispeed()

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agologin: replace termio with termios interface
Samuel Thibault [Thu, 3 Jan 2008 15:40:48 +0000 (16:40 +0100)]
login: replace termio with termios interface

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoagetty: replace termio with termios interface
Samuel Thibault [Thu, 3 Jan 2008 15:40:32 +0000 (16:40 +0100)]
agetty: replace termio with termios interface

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agobuild-sys: release++ (-rc2)
Karel Zak [Wed, 2 Jan 2008 13:22:22 +0000 (14:22 +0100)]
build-sys: release++ (-rc2)

Increment release number to v2.13.1-rc2

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agopo: update po files
Karel Zak [Wed, 2 Jan 2008 13:18:46 +0000 (14:18 +0100)]
po: update po files

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agodocs: update ReleaseNotes
Karel Zak [Wed, 2 Jan 2008 12:58:58 +0000 (13:58 +0100)]
docs: update ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agodocs: update AUTHORS file, add all translators
Karel Zak [Wed, 2 Jan 2008 12:40:00 +0000 (13:40 +0100)]
docs: update AUTHORS file, add all translators

This patch also merges TRANSLATORS and CONTRIBUTORS to the one list
only.  It's more simple to maintain this one list.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agopo: add pl.po (from translationproject.org)
Andrzej Krzysztofowicz [Wed, 2 Jan 2008 12:06:01 +0000 (13:06 +0100)]
po: add pl.po (from translationproject.org)

16 years agopo: add eu.po (from translationproject.org)
Mikel Olasagasti [Wed, 2 Jan 2008 12:06:01 +0000 (13:06 +0100)]
po: add eu.po (from translationproject.org)

16 years agopo: update vi.po (from translationproject.org)
Clytie Siddall [Wed, 2 Jan 2008 12:06:01 +0000 (13:06 +0100)]
po: update vi.po (from translationproject.org)

16 years agopo: update uk.po (from translationproject.org)
Maxim V. Dziumanenko [Wed, 2 Jan 2008 12:06:01 +0000 (13:06 +0100)]
po: update uk.po (from translationproject.org)

16 years agopo: update tr.po (from translationproject.org)
Nilgün Belma Bugüner [Wed, 2 Jan 2008 12:06:00 +0000 (13:06 +0100)]
po: update tr.po (from translationproject.org)

16 years agopo: update sv.po (from translationproject.org)
Daniel Nylander [Wed, 2 Jan 2008 12:06:00 +0000 (13:06 +0100)]
po: update sv.po (from translationproject.org)

16 years agopo: update sl.po (from translationproject.org)
Simon Mihevc [Wed, 2 Jan 2008 12:06:00 +0000 (13:06 +0100)]
po: update sl.po (from translationproject.org)

16 years agopo: update ru.po (from translationproject.org)
Pavel Maryanov [Wed, 2 Jan 2008 12:06:00 +0000 (13:06 +0100)]
po: update ru.po (from translationproject.org)

16 years agopo: update pt_BR.po (from translationproject.org)
Rodrigo Stulzer Lopes [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update pt_BR.po (from translationproject.org)

16 years agopo: update nl.po (from translationproject.org)
Benno Schulenberg [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update nl.po (from translationproject.org)

16 years agopo: update ja.po (from translationproject.org)
Daisuke Yamashita [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update ja.po (from translationproject.org)

16 years agopo: update it.po (from translationproject.org)
Marco Colombo [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update it.po (from translationproject.org)

16 years agopo: update id.po (from translationproject.org)
Arif E. Nugroho [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update id.po (from translationproject.org)

16 years agopo: update hu.po (from translationproject.org)
Gabor Kelemen [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update hu.po (from translationproject.org)

16 years agopo: update fr.po (from translationproject.org)
Michel Robitaille [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update fr.po (from translationproject.org)

16 years agopo: update fi.po (from translationproject.org)
Lauri Nurmi [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update fi.po (from translationproject.org)

16 years agopo: update et.po (from translationproject.org)
Meelis Roos [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update et.po (from translationproject.org)

16 years agopo: update es.po (from translationproject.org)
Santiago Vila Doncel [Wed, 2 Jan 2008 12:05:59 +0000 (13:05 +0100)]
po: update es.po (from translationproject.org)

16 years agopo: update de.po (from translationproject.org)
Michael Piefel [Wed, 2 Jan 2008 12:05:58 +0000 (13:05 +0100)]
po: update de.po (from translationproject.org)

16 years agopo: update da.po (from translationproject.org)
Claus Hindsgaul [Wed, 2 Jan 2008 12:05:58 +0000 (13:05 +0100)]
po: update da.po (from translationproject.org)

16 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Wed, 2 Jan 2008 12:05:58 +0000 (13:05 +0100)]
po: update cs.po (from translationproject.org)

16 years agopo: update ca.po (from translationproject.org)
Josep Puigdemont [Wed, 2 Jan 2008 12:05:58 +0000 (13:05 +0100)]
po: update ca.po (from translationproject.org)

16 years agorules: correct LSB init data for hwclockfirst.sh
LaMont Jones [Sun, 30 Dec 2007 17:34:34 +0000 (10:34 -0700)]
rules: correct LSB init data for hwclockfirst.sh

Addresses-Debian-Bug: 458346
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agoMerge commit 'origin/master'
LaMont Jones [Tue, 18 Dec 2007 00:46:50 +0000 (17:46 -0700)]
Merge commit 'origin/master'

16 years agoMerge branch 'stable/v2.13'
LaMont Jones [Tue, 18 Dec 2007 00:36:36 +0000 (17:36 -0700)]
Merge branch 'stable/v2.13'

Conflicts:

debian/changelog
mount/mount.c

16 years agoMerge commit 'origin/master'
LaMont Jones [Tue, 18 Dec 2007 00:33:43 +0000 (17:33 -0700)]
Merge commit 'origin/master'

16 years agotailf: non-linux support
Samuel Thibault [Mon, 17 Dec 2007 23:52:39 +0000 (23:52 +0000)]
tailf: non-linux support

Include <sys/inotify.h> only when inotify_init() was detected

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
16 years agoinclude: <stdint.h> provides everything
Samuel Thibault [Mon, 17 Dec 2007 23:38:30 +0000 (23:38 +0000)]
include: <stdint.h> provides everything

Do not include <linux/posix_types.h> as <stdint.h> provides everything.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
16 years agomount: hint about helper program if device doesn't exist
Karel Zak [Fri, 14 Dec 2007 14:09:22 +0000 (15:09 +0100)]
mount: hint about helper program if device doesn't exist

Addresses-Debian-Bug: #452330
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agopartx: use swab macros from bitops.h
Karel Zak [Mon, 17 Dec 2007 12:57:28 +0000 (13:57 +0100)]
partx: use swab macros from bitops.h

Clean up GPT code:
- remove C++ comments
- tailing white-spaces
- use cpu_to_  swab macros from bitops.h

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agofdisk: use swab macros from bitops.h
Karel Zak [Mon, 17 Dec 2007 12:26:38 +0000 (13:26 +0100)]
fdisk: use swab macros from bitops.h

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoinclude: add bitops.h with swab{16,32,64} macros
Karel Zak [Mon, 17 Dec 2007 12:18:12 +0000 (13:18 +0100)]
include: add bitops.h with swab{16,32,64} macros

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoinclude: add bitops.h with swab{16,32,64} macros
Karel Zak [Mon, 17 Dec 2007 12:18:12 +0000 (13:18 +0100)]
include: add bitops.h with swab{16,32,64} macros

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agofdisk: fix building for AVR32 and CRIS
Imre Kaloz [Sun, 9 Dec 2007 17:59:58 +0000 (18:59 +0100)]
fdisk: fix building for AVR32 and CRIS

The following simple patch fixes fdisk compilation for the AVR32 and CRIS architectures.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agobuild-sys: build arch(1) during distcheck
Stepan Kasal [Tue, 11 Dec 2007 17:47:35 +0000 (18:47 +0100)]
build-sys: build arch(1) during distcheck

Signed-off-by: Stepan Kasal <skasal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agobuild-sys: simplify code around RDEV_LINKS and SETARCH_LINKS
Stepan Kasal [Tue, 4 Dec 2007 18:21:48 +0000 (19:21 +0100)]
build-sys: simplify code around RDEV_LINKS and SETARCH_LINKS

Signed-off-by: Stepan Kasal <skasal@redhat.com>
16 years agobuild-sys: use portable $(VAR:=) instead of gmake-specific $(addsuffix)
Stepan Kasal [Tue, 4 Dec 2007 18:21:47 +0000 (19:21 +0100)]
build-sys: use portable $(VAR:=) instead of gmake-specific $(addsuffix)

Signed-off-by: Stepan Kasal <skasal@redhat.com>
16 years agobuild-sys: use dist_man_MANS instead of man_MANS
Stepan Kasal [Tue, 4 Dec 2007 18:21:46 +0000 (19:21 +0100)]
build-sys: use dist_man_MANS instead of man_MANS

Signed-off-by: Stepan Kasal <skasal@redhat.com>
16 years agoshutdown: use _PATH_MOUNTED instead of _PATH_MTAB
Stepan Kasal [Tue, 4 Dec 2007 18:21:45 +0000 (19:21 +0100)]
shutdown: use _PATH_MOUNTED instead of _PATH_MTAB

Signed-off-by: Stepan Kasal <skasal@redhat.com>
16 years agotailf: inotify based reimplementation
Karel Zak [Fri, 7 Dec 2007 00:56:06 +0000 (01:56 +0100)]
tailf: inotify based reimplementation

This patch:
 - clean up tailf(1) code
 - remove stupid "for() { malloc() }" array allocation in the tailf() function
 - add inotify(7) support

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: hint about helper program if device doesn't exist
Karel Zak [Fri, 14 Dec 2007 14:09:22 +0000 (15:09 +0100)]
mount: hint about helper program if device doesn't exist

Addresses-Debian-Bug: #452330
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoMerge commit 'origin/master'
LaMont Jones [Fri, 7 Dec 2007 15:17:33 +0000 (08:17 -0700)]
Merge commit 'origin/master'

16 years agotests: redirect libblkid cache to BLKID_FILE
Karel Zak [Thu, 6 Dec 2007 21:46:00 +0000 (22:46 +0100)]
tests: redirect libblkid cache to BLKID_FILE

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agochangelog: release
LaMont Jones [Thu, 6 Dec 2007 04:37:16 +0000 (21:37 -0700)]
changelog: release

16 years agoMerge commit 'origin/master'
LaMont Jones [Thu, 6 Dec 2007 04:31:04 +0000 (21:31 -0700)]
Merge commit 'origin/master'

16 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Thu, 6 Dec 2007 04:30:43 +0000 (21:30 -0700)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

Conflicts:

getopt/getopt.1

16 years agodocs: add note about incorrect tag 2.13.1
Karel Zak [Wed, 5 Dec 2007 11:40:44 +0000 (12:40 +0100)]
docs: add note about incorrect tag 2.13.1

The git tag 2.13.1 is typo. I forgot to use -rc1 suffix for this tag.
The real 2.13.1 is going to be released with tag 2.13.1-REAL. Sorry.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agodocs: add note about incorrect tag 2.13.1
Karel Zak [Wed, 5 Dec 2007 11:40:44 +0000 (12:40 +0100)]
docs: add note about incorrect tag 2.13.1

The git tag 2.13.1 is typo. I forgot to use -rc1 suffix for this tag.
The real 2.13.1 is going to be released with tag 2.13.1-REAL. Sorry.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: fix fd leak
Matthias Koenig [Wed, 21 Nov 2007 15:46:33 +0000 (16:46 +0100)]
mount: fix fd leak

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
16 years agogetopt: fix path to examples in getopt.1
Karel Zak [Wed, 28 Nov 2007 13:45:27 +0000 (14:45 +0100)]
getopt: fix path to examples in getopt.1

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoblockdev: add --getsz to blockdev.8
Karel Zak [Wed, 28 Nov 2007 14:19:24 +0000 (15:19 +0100)]
blockdev: add --getsz to blockdev.8

This patch also marks --getsize as deprecated option.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agosfdisk: allow partitioning drives of over 2^31 sectors.
Kunihiko IMAI [Mon, 20 Aug 2007 12:12:53 +0000 (06:12 -0600)]
sfdisk: allow partitioning drives of over 2^31 sectors.

sfdisk would incorrectly complain that there was no room when partitioning
a drive over 2^31 sectors in size.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
16 years agohwclock: check for ENODEV
David Woodhouse [Tue, 4 Dec 2007 13:44:05 +0000 (14:44 +0100)]
hwclock: check for ENODEV

/sbin/hwclock is supposed to fall back to using /dev/rtc0 if /dev/rtc isn't
working (which it isn't, because mkinitrd creates it with the old device
numbers, and we're switching to the new RTC_CLASS driver).

Unfortunately, it'll only cope if the error it gets is ENOENT (i.e. the device
node doesn't exist). It doesn't fall back to the next device in the list if the
error is ENODEV, which is what happens when the device node exists, but there's
no driver.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoMerge branch 'stable/v2.13'; commit 'origin/master'
LaMont Jones [Wed, 5 Dec 2007 03:30:16 +0000 (20:30 -0700)]
Merge branch 'stable/v2.13'; commit 'origin/master'

Conflicts:

getopt/getopt.1

16 years agohwclock: check for ENODEV
David Woodhouse [Tue, 4 Dec 2007 13:44:05 +0000 (14:44 +0100)]
hwclock: check for ENODEV

/sbin/hwclock is supposed to fall back to using /dev/rtc0 if /dev/rtc isn't
working (which it isn't, because mkinitrd creates it with the old device
numbers, and we're switching to the new RTC_CLASS driver).

Unfortunately, it'll only cope if the error it gets is ENOENT (i.e. the device
node doesn't exist). It doesn't fall back to the next device in the list if the
error is ENODEV, which is what happens when the device node exists, but there's
no driver.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agosfdisk: allow partitioning drives of over 2^31 sectors.
Kunihiko IMAI [Mon, 20 Aug 2007 12:12:53 +0000 (06:12 -0600)]
sfdisk: allow partitioning drives of over 2^31 sectors.

sfdisk would incorrectly complain that there was no room when partitioning
a drive over 2^31 sectors in size.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
16 years agolosetup: use standard uintxy_t types (struct loop_info64)
Samuel Thibault [Mon, 3 Dec 2007 13:17:23 +0000 (14:17 +0100)]
losetup: use standard uintxy_t types (struct loop_info64)

The kernel loop_info64 definition uses __u{8,32,64} types,
but userspace uses unsigned {long long,int,char} types.

This patch turns into exactly defined standard uint{8,32,64}_t types.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agofdisk: non-linux support (use standard uintxy_t instead __uxy)
Samuel Thibault [Sat, 27 Oct 2007 17:27:31 +0000 (18:27 +0100)]
fdisk: non-linux support (use standard uintxy_t instead __uxy)

 - #include <linux/types.h> is turned into #include <stdint.h>, much more
   portable, and __uxy were turned into uintxy_t.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agosetarch: add missing alpha subarchs
Oliver Falk [Mon, 3 Dec 2007 12:34:42 +0000 (13:34 +0100)]
setarch: add missing alpha subarchs

Signed-off-by: Oliver Falk <oliver@linux-kernel.at>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoswapon: readjust the usage summaries
Benno Schulenberg [Wed, 28 Nov 2007 19:18:48 +0000 (20:18 +0100)]
swapon: readjust the usage summaries

swapon.8: reorder options, lowercase command names, tweak sentences.
swapon.c: tweak descriptions, adjust spaces for proper alignment.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
16 years agortcwake: misc cleanups
David Brownell [Fri, 30 Nov 2007 21:42:41 +0000 (13:42 -0800)]
rtcwake: misc cleanups

Cleanups for rtcwake:

  - Minor doc updates:  highlight the framebuffer problem,
    give correct history of this code
  - Improve debug output
  - Fix some linelength bugs

Note that this code predated the sysfs "wakealarm" mechanism, and
works around several now-fixed bugs in the kernel RTC framework.

Nowadays it would make sense to make this program use only the sysfs
interface to the RTC, using "since_epoch" instead of RTC_RD_TIME and
"wakealarm" instead of the four other ioctls.  That could simplify
the mess involved in timezone handling.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agohwclock.sh: drop redundant file pointer. Closes: #453333
LaMont Jones [Wed, 28 Nov 2007 21:22:29 +0000 (14:22 -0700)]
hwclock.sh: drop redundant file pointer.  Closes: #453333

16 years agoblockdev: add --getsz to blockdev.8
Karel Zak [Wed, 28 Nov 2007 14:19:24 +0000 (15:19 +0100)]
blockdev: add --getsz to blockdev.8

This patch also marks --getsize as deprecated option.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoswapon: fix typo in usage()
Karel Zak [Wed, 28 Nov 2007 14:01:14 +0000 (15:01 +0100)]
swapon: fix typo in usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agogetopt: fix path to examples in getopt.1
Karel Zak [Wed, 28 Nov 2007 13:45:27 +0000 (14:45 +0100)]
getopt: fix path to examples in getopt.1

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: use MNTTYPE_SWAP (from mntent.h)
Karel Zak [Wed, 28 Nov 2007 13:37:09 +0000 (14:37 +0100)]
mount: use MNTTYPE_SWAP (from mntent.h)

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: cleanup usage of _PATH_*
Karel Zak [Wed, 28 Nov 2007 13:35:24 +0000 (14:35 +0100)]
mount: cleanup usage of _PATH_*

The macros MOUNTED and MNTTAB are deprecated. This patch standardize
and consolidate all path macros and remove mount_paths.h.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoinclude: add mount paths to pathnames.h
Karel Zak [Wed, 28 Nov 2007 13:08:33 +0000 (14:08 +0100)]
include: add mount paths to pathnames.h

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoagetty: non-linux support (use pathnames.h)
Karel Zak [Wed, 28 Nov 2007 12:19:42 +0000 (13:19 +0100)]
agetty: non-linux support (use pathnames.h)

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoinclude: cleanup pathnames.h
Karel Zak [Wed, 28 Nov 2007 12:17:16 +0000 (13:17 +0100)]
include: cleanup pathnames.h

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agotests: add test for include/pathnames.h
Karel Zak [Wed, 28 Nov 2007 11:52:59 +0000 (12:52 +0100)]
tests: add test for include/pathnames.h

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agotests: move test_bkdev to lib/
Karel Zak [Wed, 28 Nov 2007 11:27:00 +0000 (12:27 +0100)]
tests: move test_bkdev to lib/

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agotests: rename test_sysinfo, remove tailing white-spaces
Karel Zak [Wed, 28 Nov 2007 11:11:51 +0000 (12:11 +0100)]
tests: rename test_sysinfo, remove tailing white-spaces

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoscript: cleanup includes
Samuel Thibault [Wed, 28 Nov 2007 09:59:24 +0000 (10:59 +0100)]
script: cleanup includes

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agosfdisk: remove unnecessary linux/unistd.h
Samuel Thibault [Wed, 28 Nov 2007 09:44:31 +0000 (10:44 +0100)]
sfdisk: remove unnecessary linux/unistd.h

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>