Go to file
Heiko Carstens b16f615afb cpuset: add option to allow cpulist_parse() to fail
This is a preparation patch for chcpu. If a cpu should be added to
a cpu_set where the cpu doesn't fit into the cpu_set this got silently
ignored.
Since the cpu-list is user space provided it should be checked if cpus
are specified that are completely out of range of the system.
In order to do that add a parameter which specifies if cpulist_parse()
should fail if it parses a cpu-list with "impossible" cpus.
The current callers have been converted so they behave like before.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2011-08-15 07:52:44 +02:00
config build-sys: fix gtk-doc distclean 2011-07-27 14:22:36 +02:00
disk-utils mkfs: fix small formatting issues in man page 2011-08-08 11:58:55 +02:00
docs docs: update ReleaseNotes 2011-07-29 22:48:58 +02:00
example.files docs: update exmaple files 2011-08-08 13:21:56 +02:00
fdisk cfdisk: fix compiler warnings [-Wunused-parameter] 2011-08-01 15:27:45 +02:00
fsck fsck: use same word category in message, and add translators comment 2011-08-02 14:13:44 +02:00
getopt getopt: fix coding style 2011-06-25 16:32:11 +02:00
hwclock hwclock: tiny change in comment 2011-07-28 13:24:26 +02:00
include cpuset: add option to allow cpulist_parse() to fail 2011-08-15 07:52:44 +02:00
lib cpuset: add option to allow cpulist_parse() to fail 2011-08-15 07:52:44 +02:00
libblkid libblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare] 2011-08-02 13:29:29 +02:00
libmount lib: [loopdev.c] correct trivial typo 2011-08-08 13:53:59 +02:00
libuuid build-sys: use top-level directory for libuuid rather than shlibs/uuid 2011-06-09 21:54:05 +02:00
licenses Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
login-utils textual: add some guiding comments for translators 2011-08-02 14:13:44 +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 wipefs: change option -v to -V for --version; add it to man page 2011-08-08 11:58:47 +02:00
mount swapon: missing separator in swapon -s command 2011-08-09 13:11:56 +02:00
partx partx: switch on localization 2011-08-02 14:13:39 +02:00
po po: also extract plural messages from the C files 2011-08-02 14:13:44 +02:00
schedutils cpuset: add option to allow cpulist_parse() to fail 2011-08-15 07:52:44 +02:00
sys-utils cpuset: add option to allow cpulist_parse() to fail 2011-08-15 07:52:44 +02:00
term-utils agetty: improve login(1) argv[] 2011-08-08 12:07:07 +02:00
tests tests: fix compiler warnings [-Wunused-parameter] 2011-08-01 15:27:26 +02:00
text-utils pg: fix compiler warnings [-Wunused-result] 2011-08-02 13:55:30 +02:00
tools build-sys: fix git-version-gen for -rc tags 2011-07-29 16:12:05 +02:00
.gitignore build-sys: use AUTOMAKE_OPTIONS = gnu 2011-05-26 15:04:01 +02:00
AUTHORS docs: update AUTHORS file 2011-07-28 14:15:38 +02:00
COPYING Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
ChangeLog build-sys: use AUTOMAKE_OPTIONS = gnu 2011-05-26 15:04:01 +02:00
DEPRECATED docs: un-deprecate kill(1) 2011-08-08 12:40:06 +02:00
Makefile.am build-sys: move BUILD_SCHEDUTILS to top-level Makefile 2011-06-20 13:51:26 +02:00
NEWS build-sys: release++ (v2.20-rc1) 2011-07-29 15:14:52 +02: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 file 2011-08-09 14:46:28 +02:00
autogen.sh build-sys: use git-version-gen to distinct git and release versions 2011-04-05 16:34:00 +02:00
configure.ac build-sys: fix configure.ac for uuidd 2011-07-29 22:44:47 +02: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)
                                                       ^^^^^^^^