>>>>> On Mon, 22 Jan 2024 23:08:05 +0100, Pierre Bernhardt said: > > Am 22.01.24 um 16:41 schrieb Martin Simmons: > >>>>>> On Mon, 22 Jan 2024 10:44:49 +0100, Pierre Bernhardt said: > > Are you using udev (see the output of "df /dev")? If so, then I would > > expect > > that to recreate the contents of /dev so no backup is wanted. > Debian Buster and Bullseye should have it. By the way the system was not come > up before I recreated the inodes manually. Maybe some of them are essential > for booting the system so not all needs to be recreated but I think it is not > an issue to restore them from a backup. > > Here a list of files found on a fresh with debootstrap installed bullseye > before I firstly boot them up. > > root@backup:/media/file# ls dev > console fd full null ptmx pts random shm stderr stdin stdout tty > urandom zero > root@backup:/media/file# ls -lR dev > dev: > insgesamt 8 > crw-rw-rw- 1 root root 5, 1 Jan 22 22:25 console > lrwxrwxrwx 1 root root 13 Jan 22 22:25 fd -> /proc/self/fd > crw-rw-rw- 1 root root 1, 7 Jan 22 22:25 full > crw-rw-rw- 1 root root 1, 3 Jan 22 22:25 null > crw-rw-rw- 1 root root 5, 2 Jan 22 22:25 ptmx > drwxr-xr-x 2 root root 4096 Jan 22 22:25 pts > crw-rw-rw- 1 root root 1, 8 Jan 22 22:25 random > drwxr-xr-x 2 root root 4096 Jan 22 22:25 shm > lrwxrwxrwx 1 root root 15 Jan 22 22:25 stderr -> /proc/self/fd/2 > lrwxrwxrwx 1 root root 15 Jan 22 22:25 stdin -> /proc/self/fd/0 > lrwxrwxrwx 1 root root 15 Jan 22 22:25 stdout -> /proc/self/fd/1 > crw-rw-rw- 1 root root 5, 0 Jan 22 22:25 tty > crw-rw-rw- 1 root root 1, 9 Jan 22 22:25 urandom > crw-rw-rw- 1 root root 1, 5 Jan 22 22:25 zero > > dev/pts: > insgesamt 0 > > dev/shm: > insgesamt 0 > > I think this is the minimum of dev inodes needed for starting the system.
Ah, it looks like there is a real /dev directory containing those minimal files, which is hidden by udev after booting. __Martin _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users