Go to file
Samuel Thibault ca04a95a3b fdisk: don't use get_linux_version() for non-linux
The get_linux_version() function is Linux-specific.
Work around it in a few places.

[kzak@redhat.com: split the original patch to small patches]

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-07-24 00:52:52 +02:00
config build-sys: use dist_man_MANS instead of man_MANS 2007-12-17 10:08:49 +01:00
disk-utils mkswap: non-linux support 2008-07-24 00:52:13 +02:00
docs build-sys: release++ (v2.14) 2008-06-09 13:58:54 +02:00
example.files raw: add file with udev rule example 2007-01-26 20:06:38 +01:00
fdisk fdisk: don't use get_linux_version() for non-linux 2008-07-24 00:52:52 +02:00
getopt build-sys: ignore a bunch of generated files, mostly binaries 2008-04-14 14:08:00 +02:00
hwclock hwclock: always reads hardware clock 2008-06-17 13:19:18 +02:00
include include: <stdint.h> provides everything 2007-12-18 01:10:48 +01:00
lib fdisk: don't use get_linux_version() for non-linux 2008-07-24 00:52:52 +02:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils selinux: is_selinux_enabled() returns 0, 1 and -1 2008-07-01 14:32:53 +02:00
misc-utils write: doesn't check for tty group 2008-07-07 22:20:44 +02:00
mount losetup: clean up code around LO_FLAGS_AUTOCLEAR 2008-07-02 15:16:11 +02:00
partx build-sys: update .gitignore files 2008-04-14 14:24:03 +02:00
po lscpu: new command 2008-07-18 03:01:49 +02:00
schedutils ionice: add -t option 2008-06-16 13:08:51 +02:00
sys-utils build-sys: cleanup sys-utils/Makefile.am 2008-07-22 15:08:42 +02:00
tests build-sys: ignore a bunch of generated files, mostly binaries 2008-04-14 14:08:00 +02:00
text-utils more: dont use a.out.h 2008-06-16 11:54:37 +02:00
tools tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphans 2007-06-15 10:17:51 +02:00
.gitignore build-sys: update .gitignore files 2008-04-14 14:24:03 +02:00
AUTHORS docs: update AUTHORS file 2008-06-09 12:49:40 +02:00
COPYING Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
DEPRECATED losetup: mark the option -s as deprecated 2008-04-15 15:18:48 +02:00
INSTALL Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
Makefile.am build-sys: add --enable-static-programs 2008-02-18 13:27:02 +01:00
NEWS build-sys: release++ (v2.14) 2008-06-09 13:58:54 +02:00
README docs: add note about static linking 2008-03-12 14:07:28 +01:00
README.devel docs: cleanup README.devel, add note about coding style and Signed-off-by 2008-04-14 12:51:41 +02:00
README.licensing lscpu: new command 2008-07-18 03:01:49 +02:00
TODO docs: we already rewrote the scriptreplay script; remove that TODO entry 2008-05-19 10:36:37 +02:00
autogen.sh build-sys: autogen.sh reports versions of autotools now 2007-09-02 13:43:31 +02:00
configure.ac build-sys: release++ (v2.14) 2008-06-09 13:58:54 +02:00

README

                          utils-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 be work in environment where is not installed the
      NSS modules.

      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)
                                                       ^^^^^^^^