my initramfs init:
...too long text...
mountroot
mount --bind "${rootmnt}${ROOTDIR}" "${rootmnt}"
log_end_msg
if read_fstab_entry /usr; then
log_begin_msg "Mounting /usr file system"
mountfs /usr
log_end_msg
fi
# Mount cleanup
mount_bottom
nfs_bottom
local_bottom
maybe_break my_init
test -f "${rootmnt}/my_init" && . "${rootmnt}/my_init"
...too long text...
the "my_init":
mount /dev/sda2 ${rootmnt}/home
mount --bind ${rootmnt}/home/home ${rootmnt}/home/
#panic "test"
#dd if=/dev/urandom of=/New bs=1M count=1024
echo 2 | tee /sys/block/*/queue/rq_affinity
my /etc/fstab
:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
#UUID=0a018953-88e9-43e9-b1aa-aca60f7756b2 / ext4 errors=remount-ro 0 1
#/dev/sda2 / ext4 defaults 0 0
#/dev/sda4 none vfat,iso9660 user,noauto 0 0
#/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sr0 /media/cdrom0 auto user,noauto