ramfs has no special options

This commit is contained in:
Roy Marples 2007-04-14 09:27:29 +00:00
parent 6ff4a83d59
commit 74527291b5

View File

@ -38,7 +38,7 @@ mount_svcdir() {
fsopts="${fsopts},mode=0755,size=${svcsize}k"
elif grep -Eq "[[:space:]]+ramfs$" /proc/filesystems ; then
fs="ramfs"
fsopts="${fsopts},mode=0755,size=${svcsize}k"
# ramfs has no special options
elif [ -e /dev/ram0 -a -e /dev/ram1 ] \
&& grep -Eq "[[:space:]]+ext2$" /proc/filesystems ; then
devdir="/dev/ram0"