make a ramdisk if necessary

This commit is contained in:
Ben Gras 2006-03-13 14:44:34 +00:00
parent 34b1f1c738
commit 3bd337d54c

View file

@ -166,6 +166,7 @@ cdfdboot)
# cdfdboot: Make a boot floppy image to go on a CD for booting from.
if [ -z "$dev" ]
then
ramdisk `expr 1440*1024` 2>/dev/null
dev=/dev/ram
fi
umount $dev 2>/dev/null