]>
err.no Git - util-linux/log
Karel Zak [Thu, 4 Dec 2008 13:40:56 +0000 (14:40 +0100)]
blkid: add sysv and xenix
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 4 Dec 2008 10:56:54 +0000 (11:56 +0100)]
blkid: add netware (NSS)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 4 Dec 2008 10:37:18 +0000 (11:37 +0100)]
blkid: add squashfs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 22:34:23 +0000 (23:34 +0100)]
blkid: remove blkid_types.h
We needn't to use kernel types, in userspace we have portable
stdint.h.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 14:52:40 +0000 (15:52 +0100)]
blkid: fix hedeader in ntfs.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 14:32:21 +0000 (15:32 +0100)]
blkid: use posix uintXX_t in lvm code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 14:15:16 +0000 (15:15 +0100)]
blkid: use posix uint32_t in ocfs superblock
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 14:11:10 +0000 (15:11 +0100)]
blkid: fix highpoint37x offset
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 13:37:46 +0000 (14:37 +0100)]
blkid: cleanup starts of probing files
* libblkid was and is licensed under LGPL
The GPL comment in some files was unwished mistake (copy & past the
start of files from my other project....).
* add information about inspiration by libvolume_id
* rename *_meta to _metadata
* rename *_off to off
* use sizeof() rather than some magic constants
* remove unnecessary #includes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 3 Dec 2008 10:25:43 +0000 (11:25 +0100)]
blkid: add HPFS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 1 Dec 2008 13:32:44 +0000 (14:32 +0100)]
blkid: add TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 1 Dec 2008 13:14:26 +0000 (14:14 +0100)]
blkid: add proper copying info
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 28 Nov 2008 13:41:05 +0000 (14:41 +0100)]
blkid: remove unused stuff from Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 28 Nov 2008 12:39:48 +0000 (13:39 +0100)]
blkid: add UFS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Nov 2008 12:59:26 +0000 (13:59 +0100)]
blkid: add minix
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Nov 2008 12:11:59 +0000 (13:11 +0100)]
blkid: add vxfs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 21 Nov 2008 11:37:01 +0000 (12:37 +0100)]
blkid: add lvm1
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 21 Nov 2008 11:24:07 +0000 (12:24 +0100)]
blkid: add highpoint{37x,45x} RAIDs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Nov 2008 14:04:48 +0000 (15:04 +0100)]
blkid: add version and probe FSInfo
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Nov 2008 12:00:43 +0000 (13:00 +0100)]
blkid: support detection of multiple signatures
The classic way is to return the first successfully detected signature
(filesystem/raid). Unfortunately, sometimes we need to check for all
possible signatures, because on some volumes (e.g. CD-ROMs) is possible
to store multiple filesystems.
Sometimes we need to check for all filesystems to avoid situation that
we return wrong result (e.g. swap and FAT on the same device).
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Nov 2008 13:39:36 +0000 (14:39 +0100)]
blkid: add LUKS support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Nov 2008 10:41:06 +0000 (11:41 +0100)]
blkid: re-order list of filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Nov 2008 10:37:10 +0000 (11:37 +0100)]
blkid: add VFAT support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Nov 2008 09:50:14 +0000 (10:50 +0100)]
blkid: add UDF support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 16 Oct 2008 12:46:50 +0000 (14:46 +0200)]
blkid: add LVM2 support and a fix _sprintf_uuid() bug
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Oct 2008 14:06:03 +0000 (16:06 +0200)]
blkid: add iso9600
Notes:
- the original libblkid does not make difference between High Sierra and
the standard iso9660 (the superblock is different). This bugs is fixed.
- the original libblkid does not detect for MS Joliet Extension.
This bugs is fixed.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Oct 2008 10:17:19 +0000 (12:17 +0200)]
blkid: add missing hfs.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Oct 2008 10:16:28 +0000 (12:16 +0200)]
blkid: add HTFS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Oct 2008 09:34:58 +0000 (11:34 +0200)]
blkid: add GFS2 UUID support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Oct 2008 10:00:20 +0000 (12:00 +0200)]
blkid: add HFS and HFS+
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Sep 2008 22:47:51 +0000 (00:47 +0200)]
add reiser and reiser4
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Sep 2008 21:55:00 +0000 (23:55 +0200)]
blkid: fix blkid_probe_sprintf_version() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Sep 2008 21:54:19 +0000 (23:54 +0200)]
blkid: add __attribute__ ((format))
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Sep 2008 21:25:38 +0000 (23:25 +0200)]
blkid: add ocfs and oracleasm
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Sep 2008 13:40:12 +0000 (15:40 +0200)]
blkid: add romfs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Sep 2008 13:22:55 +0000 (15:22 +0200)]
blkid: add GFS and GFS2
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Sep 2008 12:59:53 +0000 (14:59 +0200)]
blkid: fix xfs label
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Sep 2008 12:57:53 +0000 (14:57 +0200)]
blkid: fix ext2 SEC_TYPE
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 18 Sep 2008 11:23:56 +0000 (13:23 +0200)]
blkid: add xfs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 18 Sep 2008 11:15:21 +0000 (13:15 +0200)]
blkid: add blkid_probe_get_sb() macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 18 Sep 2008 10:08:40 +0000 (12:08 +0200)]
blkid: add jfs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 15 Sep 2008 12:11:23 +0000 (14:11 +0200)]
blkid: add ext{2,3,4,4devel} support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 10:44:57 +0000 (12:44 +0200)]
blkid: correctly initialize magics[] arrays
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 10:36:00 +0000 (12:36 +0200)]
blkid: blkdev size fallback
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 10:16:14 +0000 (12:16 +0200)]
blkid: add Linux RAID
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 09:39:34 +0000 (11:39 +0200)]
blkid: update gitignore
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 09:38:39 +0000 (11:38 +0200)]
blkid: add VIA RAID
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 09:32:06 +0000 (11:32 +0200)]
blkid: add Silicon Image Medlay RAID
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 09:01:26 +0000 (11:01 +0200)]
blkid: Promise raid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 9 Sep 2008 08:51:54 +0000 (10:51 +0200)]
blkid: NVIDIA raid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 23:20:43 +0000 (01:20 +0200)]
blkid: LSI MegaRAID
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 23:11:53 +0000 (01:11 +0200)]
blkid: add JMicron RAID
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 23:05:39 +0000 (01:05 +0200)]
blkid: add ISW raid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 22:52:46 +0000 (00:52 +0200)]
blkid: add DDF raid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 22:49:01 +0000 (00:49 +0200)]
blkid: optimize for string UUIDs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Sep 2008 13:05:01 +0000 (15:05 +0200)]
blkid: add adaptec raid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 6 Sep 2008 13:28:40 +0000 (15:28 +0200)]
blkid: add low level probing API
(sorry from the huge patch..)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Aug 2008 13:22:50 +0000 (15:22 +0200)]
blkid: minor changes to library build system
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Aug 2008 13:09:47 +0000 (15:09 +0200)]
blkid: merge libblkid code from e2fsprogs/lib/blkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Aug 2008 09:55:39 +0000 (11:55 +0200)]
blkid: add basic configure.ac stuff and blkid.pc
Note, the configure.in stuff is incomplete -- but it's seem we can
remove the libbevmapper crap from blkid at all. So this code autoconf
is temporary only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Jan 2008 00:11:02 +0000 (01:11 +0100)]
build-sys: define libdir
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Aug 2008 09:00:35 +0000 (11:00 +0200)]
blkid: create basic directories
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Feb 2009 21:23:13 +0000 (22:23 +0100)]
fdisk: cleanup _PATH_DEV_* macros
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2009 22:37:37 +0000 (23:37 +0100)]
agetty: check for termios.c_line struct member by autoconf
Reported-by: Robert Millan <rmh@aybabtu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2009 15:44:17 +0000 (15:44 +0000)]
mkfs.minix: remove local implementation of {set,clr}bit
We needn't to duplicate stuff from <sys/param.h>.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2009 15:41:41 +0000 (15:41 +0000)]
fsck.minix: add regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2009 15:20:17 +0000 (15:20 +0000)]
mkfs.minix: add regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2009 14:51:14 +0000 (15:51 +0100)]
docs: add suggestion about TZ=UTC to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2009 22:36:39 +0000 (23:36 +0100)]
fsck.cramfs: segfault with INCLUDE_FS_TESTS and no -x option
The current implementation causes a segmentation fault if
INCLUDE_FS_TESTS is defined, but the -x option is not specified.
The error is caused by the extract_dir variable being null.
Reported-by: Roy Peled <the.roy.peled@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2009 21:38:34 +0000 (22:38 +0100)]
tests: check also for /dev/loop/X
Signed-off-by: Karel Zak <kzak@redhat.com>
Roy Peled [Fri, 28 Nov 2008 14:57:00 +0000 (16:57 +0200)]
mkfs.cramfs: lower memory requirements for layouts with duplicate files
mkfs.cramfs allocates memory based on a calculated upper-bound
of required filesystem size. If there are duplicate files
or hard links, the current implementation unnecessarily increases
the upper-bound per each copy of the file, even though cramfs does
not store copies of contents of identical files.
This patch improves the calculation of fslen_ub, the upper bound
of required filesystem size, by making the upper bound aware of
duplicate files.
This is very helpful for layouts that hold a lot of hard links,
which are seen as duplicate files by mkfs.cramfs. For example,
this drastically reduces the memory requirements for creating
a standard Busybox layout.
Signed-off-by: Roy Peled <the.roy.peled@gmail.com>
Signed-off-by: Roy Peled [Wed, 4 Feb 2009 13:56:54 +0000 (14:56 +0100)]
mkfs.cramfs: add endianness support to cramfs tools
cramfs is an endianness dependent file system. So far, the cramfs
utilities did not support cramfs images of different endianness than
the host machine.
A separate utility, cramfsswap, was required in order to change the
endianness of the image before and after using cramfs utilities. The
extra utility introduced extra maintenance and an additional step in
the process.
This patch adds endianness support to mkfs.cramfs and fsck.cramfs.
fsck.cramfs now automatically detects the image endianness, and can
work on images of either endianness. mkfs.cramfs now accepts a new
optional parameter (-N) that allows creating the cramfs image in
either endianness.
Signed-off-by: Roy Peled <the.roy.peled@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 16 Jan 2009 11:21:15 +0000 (12:21 +0100)]
mount: non-setuid (POSIX file capabilities) support
The mount command does not work properly if you replace suid with
POSIX file capabilities. We still need to check for non-root mounts and
the command has to work in very restricted mode for non-root users.
This patch allows you to remove suid bit from mount and umount. Note
that you need a system with filesystem capability support, e.g.
Fedora 10).
# ls -l /bin/mount
-rwxr-xr-x 1 root root 65192 2008-11-09 22:59 /bin/mount
# getcap /bin/mount
/bin/mount = cap_dac_override,cap_sys_admin+ep
[kzak@redhat.com: all the above comments]
Don't bypass security checks when [u]mount uses POSIX file capabilities
rather than setuid root to permit non-root mounts.
Signed-off-by: Geoff Johnstone <geoff.johnstone@googlemail.com>
Karel Zak [Wed, 4 Feb 2009 11:39:02 +0000 (12:39 +0100)]
fdisk: add 0xaf HFS / HFS partition type
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2009 09:22:07 +0000 (10:22 +0100)]
chrt: output buglet when reporting scheduling class
% chrt -i 0 ./a.out &
[1] 60479
% chrt -p 60479
pid 60479's current scheduling policy: SCHED_IDLE
SCHED_RR
pid 60479's current scheduling priority: 0
We have a spurious and incorrect SCHED_RR in there...
Address-Red-Hat-Bugzilla: #483706
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Feb 2009 10:21:04 +0000 (11:21 +0100)]
ionice: fix typo in manpage
Reported-by: Jakob Unterwurzacher <jakobunt@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 31 Jan 2009 00:50:26 +0000 (01:50 +0100)]
mount: fix typo in volume_id code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Jan 2009 16:47:20 +0000 (17:47 +0100)]
rtcwake: add mising .RE to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Jan 2009 14:00:35 +0000 (15:00 +0100)]
namei: add missing options to namei.1
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Jan 2009 13:48:32 +0000 (14:48 +0100)]
namei: add --vertical option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 26 Jan 2009 21:00:22 +0000 (22:00 +0100)]
rtcwake: explain supported modes in rtcwake.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Marco d'Itri [Sun, 25 Jan 2009 16:44:16 +0000 (17:44 +0100)]
rtcwake: support not suspending
People usually want to use pm-utils to suspend the system instead of
the raw kernel interface, so I added an option to just exit after
configuring the wakeup time.
Actually I think that all the suspend code should be removed from
rtcwake, since it does not really belong there.
Signed-off-by: Marco d'Itri <md@linux.it>
Karel Zak [Mon, 26 Jan 2009 10:36:31 +0000 (11:36 +0100)]
namei: don't duplicate '/' directory
sake@lelux ~ namei -l /
f: /
drwxr-xr-x root root /
drwxr-xr-x root root
The duplicate '/' directory is unexpected behavior.
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 22 Jan 2009 11:54:06 +0000 (12:54 +0100)]
ionice: a little cleanup of "none" description
We practically have three io scheduling classes. The "none" is
de facto "best-effort" class for processes that has not asked
for io priority.
Signed-off-by: Karel Zak <kzak@redhat.com>
Sukadev Bhattiprolu [Fri, 16 Jan 2009 06:41:42 +0000 (22:41 -0800)]
mount: document newinstance and ptmxmode options to devpts
Support for multiple instances of devpts were included in 2.6.29-rc1.
Update man pages to document the new options. Additional details about
the new options are described in 'Documentation/filesystems/devpts.txt'
of kernel source tree.
Reviewed-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sam Varshavchik [Wed, 3 Dec 2008 03:16:32 +0000 (22:16 -0500)]
mount: cleans up mount(8) troff markup
My patches correct troff markup only. No content changes.
Signed-off-by: Karel Zak <kzak@redhat.com>
Jakob Unterwurzacher [Sat, 27 Dec 2008 21:39:10 +0000 (22:39 +0100)]
ionice: Extend the man page to explain the "none" class and cpu-nice inheritance
Extend the ionice man page to explain the "none" class and how the
cpu-nice => io-priority inheritance works.
Signed-off-by: Jakob Unterwurzacher <jakobunt@gmail.com>
Adam Jackson [Thu, 8 Jan 2009 16:44:27 +0000 (11:44 -0500)]
dmesg: Add -r (raw) option.
Useful for debugging which kernel messages are ruining your quiet
bootup.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Karel Zak [Tue, 6 Jan 2009 23:18:41 +0000 (00:18 +0100)]
umount: cleanup gefs_by_specdir()
fix:
- don't call canonicalize_spec() for LABELs/UUIDs
- simplify the code
- rename to getfs_by_devdir(), because we use it only for
device names and not for SPECes (see umount.c).
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Jan 2009 23:00:35 +0000 (00:00 +0100)]
mount: finalize support of quoted LABELs/UUIDs
The [u]mount does not properly support LABEL="foo" or UUID="foo" in
/etc/fstab. This patch fix last places where we assume unquoted
LABELs/UUIDs only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Jan 2009 14:20:37 +0000 (15:20 +0100)]
mount: suggest to use blockdev --setro rather than losetup
Thanks to Christoph Hellwig.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Jan 2009 13:39:58 +0000 (14:39 +0100)]
mount: add info about semantics of read-only mount to mount.8
Reported-by: Joachim Wagner <jwagner@computing.dcu.ie>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Jan 2009 13:26:12 +0000 (14:26 +0100)]
namei: fix buffer overflow
$ ./namei /usr/bin/java
*** glibc detected *** ./namei: free(): invalid next size (fast): 0x00000000018e5070 ***
[...]
Aborted
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Dec 2008 00:09:34 +0000 (01:09 +0100)]
raw: default to /dev/raw/rawctl
The raw devices are in the raw/ subdirectory. It makes sense to use
the same subdirectory also for the control file. The old /dev/rawctl
is also supported as a fallback.
The #ifdef OLD_RAW_DEVS (/dev/raw<N>) is unsupported from now.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Dec 2008 17:46:45 +0000 (18:46 +0100)]
mount: add rootcontext= SELinux mount option
Note, the description in the mount.8 man page is copy & paste from
rootcontext= kernel patch (by James Morris). I didn't found anything
more useful... (patches welcomed:-)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 13 Dec 2008 01:47:42 +0000 (02:47 +0100)]
mount: clean up SPEC canonicalization
The SPEC (fsname) field in fstab/mtab could be:
- devname
- NAME=value (e.g LABEL, UUID)
- directory (MS_MOVE, MS_BIND, ..)
- pseudo-fs keyword (tmpfs, proc, sysfs, ...)
the pseudo-fs keywords shouldn't be canonicalized to absolute path. It
means we have to differ between SPEC and mountpoint (fs_dir).
Unfortunately, the keywords was checked on wrong place. This patch
move this check to the new function canonicalize_spec().
The fsname in mtab entry is canonicalized when the FS type is not
pseudo filesystem.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 12 Dec 2008 14:20:06 +0000 (15:20 +0100)]
fdisk: remove unnecessary gettext call
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 12 Dec 2008 14:13:44 +0000 (15:13 +0100)]
pg: add gettext call for the help string
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 12 Dec 2008 14:03:18 +0000 (15:03 +0100)]
refresh gitignore
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 12 Dec 2008 14:01:15 +0000 (15:01 +0100)]
simpleinit: cleanup gettext calls, use snprintf()
Signed-off-by: Karel Zak <kzak@redhat.com>