[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

util-linux drops /sbin/raw



Hi everyone,

Linux 5.14 dropped the "raw" block/char driver [1], and removedthe
userspace API. This driver has been deprecated since 2005.

util-linux used to ship an /sbin/raw binary to setup raw character
devices. Given the userspace API has been removed, the binary cannot
be built anymore [2] (also #994798).

As the name "raw" is super generic, its impossible for me to find
any users in Debian. If your package used this really old zombie,
its now broken: util-linux 2.37.2-3 drops the raw(8) binary.
Please remove its usage.

AFAICT the replacement is open("/dev/sd...", O_DIRECT | ...).

[1] https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093
[2] https://github.com/karelzak/util-linux/issues/1442

Chris


Reply to: