Go to file
Karel Zak 53a4d69ddf blkid: don't return PART_ENTRY_* if partition is empty
The PART_ENTRY_* has nothing to do with the _contents_ of the block
device. So if the device is empty these values should not be printed
and blkid(8) has to return 2.

The PART_ENTRY_* for empty devices should be printed for "-o udev"
output only.

Reported-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-02-03 12:12:37 +01:00
config libmount: rename mount.h to libmount.h 2011-01-22 00:27:26 +01:00
disk-utils mkfs.cramfs: use symbolic exit codes 2011-01-17 17:11:20 +01:00
docs docs: update v2.19 ReleaseNotes 2011-01-25 17:13:16 +01:00
example.files uuidd: move uuidd.rc to misc-utils directory 2009-06-30 15:04:49 +02:00
fdisk cfdisk: data type mismatch, and other, compiler warning fixes 2011-01-25 10:40:34 +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 provide a workaround if program_invocation_short_name is missing 2011-01-31 15:51:06 +01:00
lib cfdisk: data type mismatch, and other, compiler warning fixes 2011-01-25 10:40:34 +01:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils wall: document -n option 2011-01-23 22:19:35 +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 blkid: don't return PART_ENTRY_* if partition is empty 2011-02-03 12:12:37 +01:00
mount mount: fix parsing offset= followed by more options 2011-01-31 17:12:49 +01:00
partx remaining util-linux-ng to util-linux 2011-01-23 22:22:30 +01:00
po po: merge changes 2011-01-25 12:44:43 +01:00
schedutils schedutils: fix typos 2011-01-17 15:26:35 +01:00
shlibs libmount: cleanup helper initialization API 2011-02-02 22:32:52 +01:00
simpleinit build-sys: improve check for crypt 2011-01-17 16:32:39 +01:00
sys-utils remaining util-linux-ng to util-linux 2011-01-23 22:22:30 +01:00
tests tests: skip non-compiled libmount tests 2011-01-25 16:36:28 +01:00
text-utils column: data type mismatch compiler warning fixes 2011-01-25 10:40:36 +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-25 12:46:05 +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-rc3) 2011-01-25 17:21:53 +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 build-sys: enable lsblk and libmount for Linux only 2011-01-31 14:18:46 +01:00
autogen.sh build-sys: shell syntax fix in autogen.sh 2011-01-31 17:22:30 +01:00
configure.ac provide a workaround if program_invocation_short_name is missing 2011-01-31 15:51:06 +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)
                                                       ^^^^^^^^