blob: 13d13e3a173d5e5359497503d9724daba91f06ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
util-linux-ng
(fork of util-linux, based on version 2.13-pre7)
util-linux is a random collection of Linux utilities
WEB PAGE:
http://kernel.org/~kzak/util-linux-ng/
MAILING LIST:
E-MAIL: util-linux-ng@vger.kernel.org
URL: http://vger.kernel.org/vger-lists.html#util-linux-ng
DOWNLOAD:
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/
SOURCE CODE:
Web interface:
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git
Checkout:
git clone git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git util-linux-ng
NLS (PO TRANSLATIONS):
PO files are maintained by:
http://translationproject.org/domain/util-linux-ng.html
NEUTRALITY:
The stuff in util-linux-ng should be rather distribution-neutral.
No RPMs/DEBs/... are provided - get yours from your distributor.
VERSION SCHEMA:
Standard releases:
<major>.<minor>[.<maint>[.<bugfix>]]
major = fatal and deep changes
minor = typical release with new fetures
maint = maintenance releases; bug fixes only
bugfix = unplanned releases for critical/security bugs
Development releases:
<major>.<minor><suffix>
suffix = "devel" or "-rc<N>"
COMPILATION:
See the INSTALL file for more details.
Notes:
* use SUID_CFLAGS and SUID_LDFLAGS when you want to define special
compiler options for typical suid programs, for example:
./configure SUID_CFLAGS="-fpie" SUID_LDFLAGS="-pie"
This feature is currently supported for chfn, chsh, newgrp,
write, mount, and umount.
STATIC LINKING:
Use --enable-static-programs[=LIST] configure option when you want to use
statically linked programs.
Note, mount(8) uses get{pw,gr}nam() and getpwuid() functions for
translation from username and groupname to UID and GID. These functions
could be implemented by dynamically loaded independent modules (NSS) in
your libc (e.g. glibc). These modules are not statically linked to
mount(8) and mount.static is still using dlopen() like dynamically
linked version.
The translation won't work in environment where NSS modules are
not installed.
For example normal system (NSS modules are available):
# ./mount.static -v -f -n -ouid=kzak /mnt/foo
LABEL=/mnt/foo on /mnt/foo type vfat (rw,uid=500)
^^^^^^^
and without NSS modules:
# chroot . ./mount.static -v -f -n -ouid=kzak /mnt/win
LABEL=/mnt/win on /mnt/win type vfat (rw,uid=kzak)
^^^^^^^^
|