Commit Graph

5 Commits

Author SHA1 Message Date
Poltern
0f038fb272 Fix and unify the commands creating the link target of /dev/shm
$(realpath /dev/shm) will return the absolute path of the target of
/dev/shm, thus the command will work for both absolute symlink and
relative symlink.
2024-02-06 15:12:27 +05:00
Poltern
18060affab Revise command creating the link target in case /dev/shm is a symlink
When /dev/shm is a symlink we need to create its target or some tests
will fail and Python 3 will be misconfigured.  We wrote it as:

    mkdir -pv $LFS/$(readlink $LFS/dev/shm)

But if $LFS/dev/shm is a relative symlink (say ../run/shm), we end up:

    mkdir -pv /mnt/lfs/../run/shm

This command will create /mnt/run/shm, not $LFS/mnt/shm as we expected.
2023-11-22 17:34:16 +05:00
Poltern
b6ffaf1760 Make /dev/shm mount and umount verbose 2023-09-12 21:19:45 +03:00
Poltern
9650365d12 Translated chapter07 2023-06-30 03:00:18 +05:00
Vladimir Pertsev
644b5b8bb3 Added Preparing Virtual Kernel File Systems (Подготовка виртуальных файловых систем ядра)
Spell check
2022-05-27 02:55:43 +05:00