Skip to content

main/busybox-initscripts: add tape devices to mdev.conf

Simon Rupf requested to merge elrido/aports:busybox-initscripts into master
  • st[0-9]+.* maps the auto-rewinding tape devices
  • nst[0-9]+.* maps the non-rewinding tape devices

See also https://linux.die.net/man/4/st

Example output after rebooting, of a system with this change applied:

$ ls -l /dev/*st*
crw-rw---- 1 root tape 9, 128 Dec 28 14:18 /dev/nst0
crw-rw---- 1 root tape 9, 224 Dec 28 14:18 /dev/nst0a
crw-rw---- 1 root tape 9, 160 Dec 28 14:18 /dev/nst0l
crw-rw---- 1 root tape 9, 192 Dec 28 14:18 /dev/nst0m
crw-rw---- 1 root tape 9,   0 Dec 28 14:18 /dev/st0
crw-rw---- 1 root tape 9,  96 Dec 28 14:18 /dev/st0a
crw-rw---- 1 root tape 9,  32 Dec 28 14:18 /dev/st0l
crw-rw---- 1 root tape 9,  64 Dec 28 14:18 /dev/st0m
[...]

Merge request reports

Loading