Changeset 1675 in MondoRescue
- Timestamp:
- Oct 8, 2007, 8:08:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/init
r1663 r1675 368 368 mount_cmd="mount /dev/shm -t tmpfs -o size=$size" ; # was 34m until 04/2003 369 369 LogIt "Trying '$mount_cmd'" 370 $mount_cmd /tmp/tmpfs 2>> $LOGFILE371 res=$?372 [ "$res" -eq "0" ] && break370 $mount_cmd /tmp/tmpfs 2>> $LOGFILE 371 res=$? 372 [ "$res" -eq "0" ] && break 373 373 done 374 374 if [ "$res" -ne "0" ] ; then 375 375 LogIt "Failed. I could not run '$mount_cmd /tmp/tmpfs'. Your kernel is BROKEN or you do not have enough RAM." 1 376 376 umount /tmp/tmpfs > /dev/null 2> /dev/null 377 rmdir /tmp/tmpfs377 rmdir /tmp/tmpfs 378 378 ln -sf /mnt/RESTORING/tmp /tmp/tmpfs; # used by mondo-restore 379 LogIt "Failed to mount /tmp/tmpfs; using ugly softlink instead"379 LogIt "Failed to mount /tmp/tmpfs; using ugly softlink instead" 380 380 else 381 381 LogIt "Great. Pivot succeeded w/ size=$size" 1 … … 441 441 export PATH GROOVY USER LOGFILE 442 442 443 echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV} "443 echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV})" 444 444 445 445 mount -o remount rw /
Note:
See TracChangeset
for help on using the changeset viewer.