diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 81056b3..88a3bbf 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -19,7 +19,7 @@ create_base_layout_cpio() { mkdir -p ${TEMP}/initramfs-base-temp/usr/sbin ln -s ../lib ${TEMP}/initramfs-base-temp/lib64 - echo "/dev/ram0 / ext2 defaults" > ${TEMP}/initramfs-base-temp/etc/fstab + echo "/dev/ram0 / ext2 defaults 0 0" > ${TEMP}/initramfs-base-temp/etc/fstab echo "proc /proc proc defaults 0 0" >> ${TEMP}/initramfs-base-temp/etc/fstab if [ "${DEVFS}" -eq '1' ] diff --git a/gen_initrd.sh b/gen_initrd.sh index c7a4afa..90e8590 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -42,7 +42,7 @@ create_base_initrd_sys() { ln -s ../bin ${TEMP}/initrd-temp/usr/bin ln -s ../bin ${TEMP}/initrd-temp/usr/sbin - echo "/dev/ram0 / ext2 defaults" > ${TEMP}/initrd-temp/etc/fstab + echo "/dev/ram0 / ext2 defaults 0 0" > ${TEMP}/initrd-temp/etc/fstab echo "proc /proc proc defaults 0 0" >> ${TEMP}/initrd-temp/etc/fstab if [ "${NODEVFSD}" = '' ]