2021-08-26 17:24:41 +03:00
|
|
|
mkdir -m 775\
|
2021-07-23 12:06:13 +03:00
|
|
|
$1/dev \
|
|
|
|
$1/mnt \
|
|
|
|
$1/run \
|
|
|
|
$1/sbin \
|
|
|
|
$1/sys \
|
|
|
|
$1/bin \
|
|
|
|
$1/usr \
|
|
|
|
$1/usr/share \
|
|
|
|
$1/usr/share/man \
|
2021-07-25 20:05:24 +03:00
|
|
|
$1/usr/share/man/man1 \
|
2021-08-25 14:29:08 +03:00
|
|
|
$1/usr/share/man/man2 \
|
2021-07-25 20:05:24 +03:00
|
|
|
$1/usr/share/man/man3 \
|
|
|
|
$1/usr/share/man/man4 \
|
|
|
|
$1/usr/share/man/man5 \
|
|
|
|
$1/usr/share/man/man6 \
|
|
|
|
$1/usr/share/man/man7 \
|
|
|
|
$1/usr/share/man/man8 \
|
2021-07-23 12:06:13 +03:00
|
|
|
$1/lib \
|
|
|
|
$1/var/ \
|
|
|
|
$1/var/cache \
|
|
|
|
$1/var/log \
|
|
|
|
$1/var/log/old \
|
|
|
|
$1/var/lib \
|
|
|
|
$1/var/lib/misc \
|
|
|
|
$1/var/empty \
|
|
|
|
$1/var/service \
|
2021-08-25 15:53:19 +03:00
|
|
|
$1/var/spool \
|
|
|
|
$1/etc \
|
|
|
|
$1/etc/al
|
2021-07-23 12:06:13 +03:00
|
|
|
|
2021-08-26 17:24:41 +03:00
|
|
|
mkdir -m 555 \
|
2021-07-23 12:06:13 +03:00
|
|
|
$1/proc \
|
|
|
|
$1/sys
|
2021-07-25 20:05:24 +03:00
|
|
|
|
2021-08-26 17:24:41 +03:00
|
|
|
mkdir -m 0750 \
|
2021-07-23 12:06:13 +03:00
|
|
|
$1/root
|
|
|
|
|
2021-08-26 17:24:41 +03:00
|
|
|
mkdir -m 1777 \
|
2021-07-23 12:06:13 +03:00
|
|
|
$1/tmp \
|
|
|
|
$1/var/tmp \
|
|
|
|
|
2021-08-26 16:52:54 +03:00
|
|
|
ln -sf usr/bin $1/bin
|
|
|
|
ln -sf usr/bin $1/sbin
|
|
|
|
ln -sf bin $1/usr/sbin
|
|
|
|
ln -sf usr/lib $1/lib
|
|
|
|
ln -sf usr/lib $1/lib64
|
2021-07-23 12:06:13 +03:00
|
|
|
|
2021-08-26 16:52:54 +03:00
|
|
|
ln -sf lib $1/usr/lib64
|
|
|
|
ln -sf run $1/var/run
|
2021-07-23 12:06:13 +03:00
|
|
|
|