[Git-commits] [grml/grml-debootstrap] 8671b4: Remove manual setup of /dev contents

Michael Prokop noreply at github.com
Fri Nov 17 16:54:02 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 8671b4a91638554a9559965915f03cba85c76af8
      https://github.com/grml/grml-debootstrap/commit/8671b4a91638554a9559965915f03cba85c76af8
  Author: Chris Hofstaedtler <chris at hofstaedtler.name>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M Makefile
    M debian/grml-debootstrap.maintscript
    R devices.tar.gz
    M grml-debootstrap

  Log Message:
  -----------
  Remove manual setup of /dev contents

debootstrap already creates the minimally needed set of device nodes,
and everything else will come from udev. Booting systems without udev
is not supported in Debian TTBOMK, so we also do not need to try
supporting that.

Here is the contents of /dev with this patch applied, for a bookworm install:

/dev:
total 4
drwxr-xr-x  4 root root  182 Nov 13 22:50 ./
drwxr-xr-x 17 root root 4096 Nov 13 22:51 ../
crw-rw-rw-  1 root root 5, 1 Nov 13 22:50 console
lrwxrwxrwx  1 root root   13 Nov 13 22:50 fd -> /proc/self/fd/
crw-rw-rw-  1 root root 1, 7 Nov 13 22:50 full
crw-rw-rw-  1 root root 1, 3 Nov 13 22:50 null
crw-rw-rw-  1 root root 5, 2 Nov 13 22:50 ptmx
drwxr-xr-x  2 root root    6 Nov 13 22:50 pts/
crw-rw-rw-  1 root root 1, 8 Nov 13 22:50 random
drwxr-xr-x  2 root root    6 Nov 13 22:50 shm/
lrwxrwxrwx  1 root root   15 Nov 13 22:50 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root   15 Nov 13 22:50 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root   15 Nov 13 22:50 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root root 5, 0 Nov 13 22:50 tty
crw-rw-rw-  1 root root 1, 9 Nov 13 22:50 urandom
crw-rw-rw-  1 root root 1, 5 Nov 13 22:50 zero

/dev/pts:
total 0
drwxr-xr-x 2 root root   6 Nov 13 22:50 ./
drwxr-xr-x 4 root root 182 Nov 13 22:50 ../

/dev/shm:
total 0
drwxr-xr-x 2 root root   6 Nov 13 22:50 ./
drwxr-xr-x 4 root root 182 Nov 13 22:50 ../


  Commit: 98b64b8ed6e64e005de4fbbcabc0a8ca775ed9f9
      https://github.com/grml/grml-debootstrap/commit/98b64b8ed6e64e005de4fbbcabc0a8ca775ed9f9
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M Makefile
    M debian/grml-debootstrap.maintscript
    R devices.tar.gz
    M grml-debootstrap

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/pr/241'


Compare: https://github.com/grml/grml-debootstrap/compare/dd4245a48993...98b64b8ed6e6


More information about the Git-commits mailing list