# default Linux directories dir /bin 0755 0 0 dir /dev 0755 0 0 dir /etc 0755 0 0 dir /lib64 0555 0 0 dir /proc 0755 0 0 dir /sbin 0755 0 0 dir /sys 0755 0 0 dir /tmp 1777 0 0 slink /etc/mtab /proc/mounts 0666 0 0 # this is where the root disk gets mounted dir /mnt 0755 0 0 # console device node in case we get dropped to a rescue shell nod /dev/console 0600 0 0 c 5 1 # our init script file /init /usr/src/sys/initramfs.lvm/init 0555 0 0 # make sure busybox is statically linked (check output of ldd /bin/busybox) file /bin/busybox /bin/busybox 0555 0 0 # lvm tool plus 7 hardlinks file /sbin/lvm /sbin/lvm 0555 0 0 /sbin/vgscan /sbin/vgchange /sbin/vgmknodes /sbin/pvs /sbin/vgs /sbin/lvs /sbin/lvcreate # fsck commands file /sbin/e2fsck /sbin/e2fsck 0555 0 0 /sbin/fsck.ext4 /sbin/fsck.ext3 /sbin/fsck.ext2 # dependencies of lvm etc. may change when you update your system # check output of: # ldd /sbin/lvm /sbin/e2fsck | awk '{if(/ => /){print $3;} else if (/lib64/){print $1;}}' | sort -u | awk '{print "file "$0" "$0" 0555 0 0"}' file /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 0555 0 0 file /lib64/libaio.so.1 /lib64/libaio.so.1 0555 0 0 file /lib64/libblkid.so.1 /lib64/libblkid.so.1 0555 0 0 file /lib64/libcap.so.2 /lib64/libcap.so.2 0555 0 0 file /lib64/libcom_err.so.2 /lib64/libcom_err.so.2 0555 0 0 file /lib64/libc.so.6 /lib64/libc.so.6 0555 0 0 file /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper-event.so.1.02 0555 0 0 file /lib64/libdevmapper.so.1.02 /lib64/libdevmapper.so.1.02 0555 0 0 file /lib64/libe2p.so.2 /lib64/libe2p.so.2 0555 0 0 file /lib64/libext2fs.so.2 /lib64/libext2fs.so.2 0555 0 0 file /lib64/libm.so.6 /lib64/libm.so.6 0555 0 0 file /lib64/libreadline.so.8 /lib64/libreadline.so.8 0555 0 0 file /lib64/libtinfow.so.6 /lib64/libtinfow.so.6 0555 0 0 file /lib64/libudev.so.1 /lib64/libudev.so.1 0555 0 0 file /lib64/libuuid.so.1 /lib64/libuuid.so.1 0555 0 0