Go to file
Karel Zak fb9d90d552 libmount: fix parsing of mountinfo from 2.6.39
The /proc/self/mountinfo file uses " - " field as a separator between
optional fields and next fields in the file. The '-' char could be
used in the fields (for example in UUIDs), so it's necessary to check
for whole " - " string rather than for '-' char only.

Reported-by: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-05 14:17:51 +02:00
config libmount: rename mount.h to libmount.h 2011-01-22 00:27:26 +01:00
disk-utils build-sys: don't use HAVE_LIBBLKID_INTERNAL macro 2011-03-16 17:45:53 +01:00
docs docs: update v2.19 ReleaseNotes 2011-02-10 09:27:06 +01:00
example.files uuidd: move uuidd.rc to misc-utils directory 2009-06-30 15:04:49 +02:00
fdisk fdisk: check index before access to array [coverity scan] 2011-03-17 22:58:05 +01:00
fsck build-sys: don't support external (e2fsprogs) libblkid 2011-03-16 17:31:50 +01:00
getopt getopt: fix '--unqote' typo in usage text 2011-02-21 16:26:20 +01:00
hwclock hwclock: build on non-Linux 2011-03-11 12:34:25 +01:00
include include: [c.h] add definition wrappers for old libc versions 2011-03-29 10:35:40 +02:00
lib lib: [fsprobe.c] fix blkid_evaluate_spec() call 2011-03-22 09:54:57 +01:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils login: fix checktty test to compile with old glibc 2011-03-31 11:39:01 +02:00
m4 build-sys: use AC_LANG_SOURCE to suppress warnings 2011-03-08 13:37:09 +01:00
man/ru rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
misc-utils blkid: small fix for safe_print() 2011-03-29 17:07:24 +02:00
mount umount: use helper= for all UIDs 2011-04-01 09:03:39 +02:00
partx partx: add fallback for openat() to be usable on old systems 2011-03-29 10:45:57 +02:00
po po: merge changes 2011-02-10 09:18:11 +01:00
schedutils move struct option to .rodata 2011-03-03 15:00:30 +01:00
shlibs libmount: fix parsing of mountinfo from 2.6.39 2011-04-05 14:17:51 +02:00
simpleinit build-sys: improve check for crypt 2011-01-17 16:32:39 +01:00
sys-utils lscpu: detect sun4{u,v} in /proc/cpuinfo for sparc64 2011-03-31 14:30:06 +02:00
term-utils build-sys: fix distcheck for term-utils 2011-04-04 10:53:07 +02:00
tests tests: add dump from PPC64 to lscpu tests 2011-03-31 14:47:45 +02:00
text-utils tailf: support --lines 0 2011-03-18 09:52:07 +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-02-10 09:20:02 +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 build-sys: clean up partx Makefile 2011-03-16 17:39:54 +01:00
NEWS build-sys: release++ (v2.19) 2011-02-10 09:37:47 +01:00
README README: fix typo 2010-12-02 17:01:46 +01:00
README.devel docs: favour small patches 2011-02-15 10:34:41 +01:00
README.licensing rename util-linux-ng back to util-linux 2010-11-30 11:41:59 +01:00
TODO docs: update TODO 2011-03-30 00:27:29 +02:00
autogen.sh build-sys: do not ignore datarootdir 2011-03-22 10:17:50 +01:00
configure.ac build-sys: clean up partx Makefile 2011-03-16 17:39:54 +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)
                                                       ^^^^^^^^