filesystem: removed /proc and /sys from /etc/fstab, created /etc/mtab symlink to /proc/self/mounts
This commit is contained in:
parent
ee1390d5a8
commit
1fb24668dd
@ -8,7 +8,7 @@ drwxr-xr-x root/root etc/
|
||||
-rw-r--r-- root/root etc/issue
|
||||
-rw-r--r-- root/root etc/mime.types
|
||||
-rw-r--r-- root/root etc/motd (EMPTY)
|
||||
-rw-r--r-- root/root etc/mtab (EMPTY)
|
||||
lrwxrwxrwx root/root etc/mtab -> /proc/self/mounts
|
||||
-rw-r--r-- root/root etc/passwd
|
||||
-rw-r--r-- root/root etc/securetty
|
||||
-rw-r----- root/root etc/shadow
|
||||
|
@ -1,4 +1,4 @@
|
||||
2bea1eed13c454901c4e368db67fda04 fstab
|
||||
1ea1c43f6dceaf64d1a8d96fda1d4c2b fstab
|
||||
7b103e0325616227a5d615f3c8687bb8 group
|
||||
6cef6f5ab23244460cdf13c98e68b010 issue
|
||||
346ede8d637940e2898cd29c56a37d30 mime.types
|
||||
|
@ -67,7 +67,7 @@ build() {
|
||||
cp securetty $PKG/etc
|
||||
cp fstab $PKG/etc
|
||||
cp mime.types $PKG/etc
|
||||
touch $PKG/etc/mtab
|
||||
ln -s /proc/self/mounts $PKG/etc/mtab
|
||||
chmod 640 $PKG/etc/shadow
|
||||
|
||||
# /usr/bin/crux
|
||||
|
@ -18,8 +18,6 @@
|
||||
#/dev/dvd /dvd udf ro,user,noauto,unhide 0 0
|
||||
#/dev/floppy/0 /floppy vfat user,noauto,unhide 0 0
|
||||
devpts /dev/pts devpts defaults 0 0
|
||||
none /sys sysfs defaults 0 0
|
||||
none /proc proc defaults 0 0
|
||||
#tmp /tmp tmpfs defaults 0 0
|
||||
#shm /dev/shm tmpfs defaults 0 0
|
||||
#usb /proc/bus/usb usbfs defaults 0 0
|
||||
|
Loading…
Reference in New Issue
Block a user