2018-11-09 03:25:31 +03:00
|
|
|
rm -vf _fs_contents.lock
|
|
|
|
rm -vf _fs_contents
|
|
|
|
cp -vp _fs_contents.stock _fs_contents
|
|
|
|
mkdir -vp mnt
|
2018-10-23 11:12:50 +03:00
|
|
|
mount -o loop _fs_contents mnt/
|
2018-11-17 00:14:40 +03:00
|
|
|
mkdir -vp mnt/dev
|
|
|
|
mknod mnt/dev/tty0 c 4 0
|
|
|
|
mknod mnt/dev/tty1 c 4 1
|
|
|
|
mknod mnt/dev/tty2 c 4 2
|
|
|
|
mknod mnt/dev/tty3 c 4 3
|
2019-01-14 16:21:51 +03:00
|
|
|
mknod mnt/dev/psaux c 10 1
|
|
|
|
mknod mnt/dev/gui_events c 66 1
|
2018-10-31 21:49:22 +03:00
|
|
|
cp -R ../Base/* mnt/
|
2018-11-09 03:25:31 +03:00
|
|
|
cp -v ../Userland/sh mnt/bin/sh
|
|
|
|
cp -v ../Userland/id mnt/bin/id
|
|
|
|
cp -v ../Userland/ps mnt/bin/ps
|
|
|
|
cp -v ../Userland/ls mnt/bin/ls
|
2018-11-11 22:42:41 +03:00
|
|
|
cp -v ../Userland/fgrep mnt/bin/fgrep
|
2018-11-09 03:25:31 +03:00
|
|
|
cp -v ../Userland/sleep mnt/bin/sleep
|
|
|
|
cp -v ../Userland/date mnt/bin/date
|
|
|
|
cp -v ../Userland/true mnt/bin/true
|
|
|
|
cp -v ../Userland/false mnt/bin/false
|
|
|
|
cp -v ../Userland/hostname mnt/bin/hostname
|
|
|
|
cp -v ../Userland/cat mnt/bin/cat
|
|
|
|
cp -v ../Userland/uname mnt/bin/uname
|
|
|
|
cp -v ../Userland/clear mnt/bin/clear
|
|
|
|
cp -v ../Userland/tst mnt/bin/tst
|
|
|
|
cp -v ../Userland/mm mnt/bin/mm
|
|
|
|
cp -v ../Userland/kill mnt/bin/kill
|
|
|
|
cp -v ../Userland/tty mnt/bin/tty
|
2018-11-18 16:57:41 +03:00
|
|
|
cp -v ../Userland/mkdir mnt/bin/mkdir
|
2018-12-19 23:14:55 +03:00
|
|
|
cp -v ../Userland/touch mnt/bin/touch
|
2018-12-20 02:39:29 +03:00
|
|
|
cp -v ../Userland/sync mnt/bin/sync
|
2018-12-21 04:42:30 +03:00
|
|
|
cp -v ../Userland/more mnt/bin/more
|
2019-01-13 03:59:38 +03:00
|
|
|
cp -v ../Userland/guitest mnt/bin/guitest
|
2018-10-31 19:50:43 +03:00
|
|
|
sh sync-local.sh
|
2018-11-09 03:25:31 +03:00
|
|
|
cp -v kernel.map mnt/
|
2018-11-29 05:45:23 +03:00
|
|
|
ln -s dir_a mnt/dir_cur
|
|
|
|
ln -s nowhere mnt/bad_link
|
2018-10-23 11:12:50 +03:00
|
|
|
umount mnt
|
|
|
|
sync
|