From 22a3b8c9bd0e784cf3924b070ff22d9618884aa9 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Fri, 12 Aug 2011 20:45:51 +0200 Subject: docs: new file Documentation/howto-compilation.txt Signed-off-by: Sami Kerola --- README | 43 ------------------------------------------- 1 file changed, 43 deletions(-) (limited to 'README') diff --git a/README b/README index d18e97ad5..1c591b9e7 100644 --- a/README +++ b/README @@ -53,46 +53,3 @@ VERSION SCHEMA: Development releases: .-rc - - -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) - ^^^^^^^^ - - -- cgit v1.2.3-55-g7522