Linux 标准实用工具包,util-linux 2.27 发布

jopen 9年前

util-linux  Linux 操作系统的标准实用工具包。

util-linux 2.27 发布,此版本主要更新内容如下:

  • The command tailf is deprecated in favour of tail -f from coreutils.

  • The command unshare provides a new option --propagation=slave|shared|private|unchanged
    to control propagation in mount namespaces.

  • The command mount(8) supports read-only binds in one step by the options
    "bind,ro" (command line or fstab).

  • The commands fdisk and sfdisk can be compiled with GNU readline support to
    improve their line-editing functionality.

  • The library libsmartcols and the commands findmnt, losetup, lsblk, lslocks,
    sfdisk and lsipc provide output in JSON format.

  • The command mkfs (deprecated in favour of mkfs.<type>) does not use hard-coded
    paths, but it follows $PATH.

  • The command script has been massively improved to be more robust and less
    complex.  Now all is implemented by one process which monitors the running
    session by poll(), signalfd(), etc.

  • The command sulogin supports locked root accounts if the command-line option
    --force is specified.

  • The command agetty reloads the prompt on address changes if network information
    is displayed.

  • util-linux now supports and enables colors by default. It is possible to change
    this behavior with --disable-colors-default to be more user-friendly to colorblind
    people.

  • The command cfdisk displays more information about the selected partition
    (partition UUID, filesystem identifiers, mountpoint, etc.).

  • The command fdisk provides a new command 'F' to print free, unpartitioned space
    (gaps) on the disk.

  • The command cal supports the new options --twelve and --months <n> to display
    the next twelve or <n> months.

  • The command rtcwake supports a new option --list-modes to list available modes,
    and a new option --date for human-readable times. rtcwake does not support
    RTC_ALM_READ and RTC_ALM_SET fallbacks any more.

  • The util-linux code is possible rebuild with --disable-assert now.

此外还有一些安全修复和 bug 修复,详细改进请看发行说明

下载:https://github.com/karelzak/util-linux/archive/v2.27.zip