Go to file
Chris Hofstaedtler 267d2ac0f1 script: abort if unused arguments are given
scripts uses either a free-standing "file" argument, or the value
passed as --log-out "file". Additional filenames are ignored.
They are also ignored if --log-in "file" is given, as it turns off
output logging by default (can still be overriden by adding --log-out).
Avoid surprises when passing multiple filenames by writing usage
message instead.

[kzak@redhat.com: - use errtryhelp() rather than usage()]

Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016193
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-02-17 15:04:43 +08:00
Documentation merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
bash-completion merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
config merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
debian merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
disk-utils fsck: Processes may kill other processes. 2023-02-17 15:03:42 +08:00
include lib/pty: Put master PTY into non-blocking mode and buffer its output to avoid deadlock 2023-02-17 15:04:28 +08:00
lib lib/pty: minor cleanups 2023-02-17 15:04:35 +08:00
libblkid libblkid: iso9660: allocate enough space for UTF16 decoding 2023-02-17 15:03:58 +08:00
libfdisk libfdisk: (gpt) don't ignore fsync() errors 2023-02-17 15:02:08 +08:00
libmount merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
libsmartcols merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
libuuid libuuid: check clock value from LIBUUID_CLOCK_FILE 2023-02-17 15:00:21 +08:00
login-utils merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
m4 merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
man-common merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
misc-utils kill: Support mandating the presence of a userspace signal handler 2023-02-17 15:01:28 +08:00
po merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
po-man merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
schedutils merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
sys-utils rfkill: (man) List options for supported device types 2023-02-17 15:04:20 +08:00
term-utils script: abort if unused arguments are given 2023-02-17 15:04:43 +08:00
tests hardlink tests: set known failed 2023-02-17 14:58:56 +08:00
text-utils merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
tools merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
.tarball-version merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
.version merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
ABOUT-NLS Import Upstream version 2.34 2022-05-14 03:14:32 +08:00
AUTHORS merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
COPYING Import Upstream version 2.34 2022-05-14 03:14:32 +08:00
ChangeLog merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
Makefile.am merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
Makefile.in merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
NEWS merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
README merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
README.licensing merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
aclocal.m4 merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
autogen.sh merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
config.h.in merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
configure merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
configure.ac merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
meson.build merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
meson_options.txt merge upstream 2.38.1 2023-02-17 14:33:46 +08:00

README

				  util-linux

		util-linux is a random collection of Linux utilities

     Note: for the years 2006-2010 this project was named "util-linux-ng".

COMPILE & INSTALL:

      See Documentation/howto-compilation.txt.

MAILING LIST:

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

      The mailing list will reject email messages that contain:
       - more than 100K characters
       - html
       - spam phrases/keywords
      See: http://vger.kernel.org/majordomo-info.html#taboo

IRC CHANNEL:

      #util-linux at libera.chat:

      irc://irc.libera.chat/util-linux

      The IRC channel and Mailing list are for developers and project
      maintainers. For end users it is recommended to utilize the
      distribution's support system.

BUG REPORTING:

      E-MAIL: util-linux@vger.kernel.org
      Web:    https://github.com/util-linux/util-linux/issues

      Bug reports with sensitive or private information: Karel Zak <kzak@redhat.com>

      This project has no resources to provide support for distribution specific
      issues. For end users it is recommended to utilize the distribution's
      support system.

NLS (PO TRANSLATIONS):

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

VERSION SCHEMA:

      Standard releases:
	  <major>.<minor>[.<maint>]
	     major = fatal and deep changes
	     minor = typical release with new features
	     maint = maintenance releases; bug fixes only

      Development releases:
	 <major>.<minor>-rc<N>

SOURCE CODE:

 Download archive:
	  https://www.kernel.org/pub/linux/utils/util-linux/

 See also:
     Documentation/howto-contribute.txt
     Documentation/howto-build-sys.txt
     Documentation/howto-pull-request.txt

 SCM (Source Code Management) Repository:

    Primary repository:
	  git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git

    Backup repository:
	  git clone git://github.com/util-linux/util-linux.git

    Web interfaces:
	  http://git.kernel.org/cgit/utils/util-linux/util-linux.git
	  https://github.com/util-linux/util-linux

      Note: the GitHub repository may contain temporary development branches too.

      The kernel.org repository contains master (current development) and stable/*
      (maintenance) branches only. All master or stable/* changes are always pushed
      to both repositories at the same time.

    Repository Branches: 'git branch -a'
	  master branch
	   - current development
	   - the source for stable releases when deemed ready.
	   - day-to-day status is: 'it works for me'. This means that its
	     normal state is useful but not well tested.
	   - long-term development or invasive changes in active development are
	     forked into separate 'topic' branches from the tip of 'master'.

	  stable/ branches
	   - public releases
	   - branch name: stable/v<major>.<minor>.
	   - created from the 'master' branch after two or more release
	     candidates and the final public release. This means that the stable
	     releases are committed, tagged, and reachable in 'master'.
	   - these branches then become forked development branches. This means
	     that any changes made to them diverge from the 'master' branch.
	   - maintenance releases are part of, and belong to, their respective
	     stable branch. As such, they are tags(<major>.<minor>.<maint>) and
	     not branches of their own. They are not part of, visible in, or
	     have anything to do with the 'master' development branch. In git
	     terminology: maintenance releases are not reachable from 'master'.
	   - when initially cloned (as with the 'git clone' command given above)
	     these branches are created as 'remote tracking branches' and are
	     only visible by using the -a or -r options to 'git branch'. To
	     create a local branch use the desired tag with this command:
	     'git checkout -b v2.29.2 v2.29.2'

    Tags: 'git tag'
	   - a new tag object is created for every release.
	   - tag name: v<version>.
	   - all tags are signed by the maintainer's PGP key.

    Known Bugs:
	- don't use tag v2.13.1 (created and published by mistake),
	  use v2.13.1-REAL instead.

WORKFLOW EXAMPLE:

 1) development (branch: <master>)

 2) master release (tags: v2.29-rc1, v2.29-rc2, v2.29, branch: <master>)

 3) development (work on v2.30, branch: <master>)

 4) fork -- create a new branch <stable/v2.29> based on tag v2.29

     4a) new patches or cherry-pick patches from <master> (branch: <stable/v2.29>)

     4b) stable release (tag: v2.29.1, branch: <stable/v2.29>)

     4c) more patches; another release (tag: v2.29.2, branch: <stable/v2.29>)

 5) master release v2.30 (branch: <master>)
    ...

where 3) and 4) happen simultaneously.