Go to file
Karel Zak 97073441e6 libmount: add mount(8) sample
This code is going to be used as mount(8) replacement in the next
major release (2.20). For now this mount(8) implementation does not
support loopdevs initialization.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10 14:35:25 +01:00
config build-sys: use generated libtool-2 stuff 2011-01-05 13:17:12 +01:00
disk-utils rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
docs docs: update v2.19 ReleaseNotes 2011-01-05 13:26:38 +01:00
example.files uuidd: move uuidd.rc to misc-utils directory 2009-06-30 15:04:49 +02:00
fdisk fdisk: re-print prompt after maybe_exit() 2011-01-05 16:50:47 +01:00
fsck fsck: returns proper code on exec() error 2010-12-27 22:31:36 +01:00
getopt rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
hwclock hwclock: allow setting of RTC when it contains invalid data 2010-12-31 00:31:30 +01:00
include include: add fallback for rpmatch() 2011-01-05 16:18:08 +01:00
lib remove duplicate includes 2011-01-04 22:36:09 +01:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils agetty: use ignore_result() or write(1, ...) 2011-01-04 22:07:18 +01:00
m4 build-sys: use generated libtool-2 stuff 2011-01-05 13:17:12 +01:00
man/ru rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
misc-utils lsblk: use "RM" for removable 2011-01-10 11:18:51 +01:00
mount mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code 2011-01-10 13:04:39 +01:00
partx docs: fix typos in man pages 2011-01-04 20:15:51 +01:00
po po: refresh gl and zh_TW 2011-01-05 13:05:18 +01:00
schedutils rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
shlibs libmount: add mount(8) sample 2011-01-10 14:35:25 +01:00
simpleinit build-sys: remove unnecessary header 2010-12-29 20:58:10 +01:00
sys-utils unshare: fix SIGSEGV on invalid command line option 2011-01-05 20:30:16 +01:00
tests tests: use findmnt(8) for remount test 2011-01-03 12:28:49 +01:00
text-utils hexdump: remove od functionality in favor to GNU coreutils od 2010-12-30 23:11:43 +01:00
tools fdisk: rename ENABLE_CMDTAGQ macro 2008-11-26 14:24:52 +01:00
.gitignore build-sys: ignore generated ltmain.sh 2011-01-05 13:39:35 +01:00
AUTHORS docs: update AUTHORS file 2011-01-04 23:07:28 +01:00
COPYING Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
DEPRECATED docs: correct spelling mistakes in DEPRECATED file 2011-01-05 12:21:41 +01:00
INSTALL Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
Makefile.am simpleinit: move old init stuff to separate directory 2010-12-10 17:28:32 +01:00
NEWS build-sys: release++ (v2.19-rc1) 2011-01-05 13:41:44 +01:00
README README: fix typo 2010-12-02 17:01:46 +01:00
README.devel rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
README.licensing rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
TODO docs: update TODO file 2010-12-10 17:09:43 +01:00
autogen.sh build-sys: use generated libtool-2 stuff 2011-01-05 13:17:12 +01:00
configure.ac libmount: add mount(8) sample 2011-01-10 14:35:25 +01:00

README

                                  util-linux

              util-linux is a random collection of Linux utilities

     Note that in years 2006-2010 this project used the name "util-linux-ng".

WEB PAGE:

     http://kernel.org/~kzak/util-linux/


MAILING LIST:

      E-MAIL: util-linux@vger.kernel.org
      URL:    http://vger.kernel.org/vger-lists.html#util-linux


DOWNLOAD:

      ftp://ftp.kernel.org/pub/linux/utils/util-linux/


SOURCE CODE:

      Web interface:
          http://git.kernel.org/?p=utils/util-linux/util-linux.git
      Checkout:
          git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util-linux

NLS (PO TRANSLATIONS):

      PO files are maintained by:
          http://translationproject.org/domain/util-linux-ng.html

NEUTRALITY:

      The stuff in util-linux 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 features
             maint = maintenance releases; bug fixes only
             bugfix = unplanned releases for critical/security bugs

      Development releases:

         <major>.<minor>-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)
                                                       ^^^^^^^^