Release of the GNU Coreutils 9.1 set of core system utilities

A stable version of the GNU Coreutils 9.1 set of basic system utilities is available, which includes programs such as sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln, ls, etc.

Key changes:

  • Added support to the dd utility for alternative option names iseek=N for skip=N and oseek=N for seek=N, which are used in the BSD variant of dd.
  • Added "--print-ls-colors" option to dircolors to visually and separately display colors defined in the LS_COLORS environment variable. dircolors also added support for the COLORTERM environment variable in addition to TERM.
  • The cp, mv, and install utilities use the openat* system calls when copying to a directory to improve efficiency and eliminate possible race conditions.
  • On macOS, the cp utility now creates a copy-on-write clone of a file if the source and target files are on the same APFS and the target file does not exist. When copying, access mode and time are also preserved (as when running 'cp -p' and 'cp -a').
  • Added the '--resolution' option to the 'date' utility to display timekeeping accuracy data.
  • printf provides support for printing numeric values ​​in multibyte characters.
  • "sort --debug" implements diagnostics for problems with characters in the --field-separator parameter that conflict with characters that can be used in numbers.
  • The cat utility implements the use of the copy_file_range system call, when supported by the system, to copy data between two files only on the kernel side without transferring the data to the user-space process memory.
  • chown and chroot provide a warning when using the syntax "chown root.root f" instead of "chown root:root f" as there may be problems on systems that allow dots in usernames).
  • The dd utility provides a byte count instead of blocks if the counter value ends with a 'B' character ('dd count=100KiB'). The count_bytes, skip_bytes, and seek_bytes flags have been deprecated.
  • In ls, file highlighting is disabled by default, taking into account capabilities, as this leads to an increase in load by about 30%.
  • ls and stat disable attempts to automount files. For automounting, you must explicitly specify the "stat --cached=never" option.

Source: opennet.ru

Add a comment