|
Line
Link Here
|
|
-- /etc/init.d/boot.localfs |
|
|
|
Lines 239-244
Link Here
|
| 239 |
fi |
239 |
fi |
| 240 |
done < /proc/filesystems |
240 |
done < /proc/filesystems |
| 241 |
mount -fv -t tmpfs udev /dev |
241 |
mount -fv -t tmpfs udev /dev |
|
|
242 |
# remount /dev too when there may be options in fstab |
| 243 |
test -r /etc/fstab && while read dev dir type options; do |
| 244 |
test "${dev:0:1}" = "#" && continue |
| 245 |
if test "$dir" = "/dev" -a "$type" = "tmpfs"; then |
| 246 |
mount -oremount /dev |
| 247 |
break; |
| 248 |
fi |
| 249 |
done < /etc/fstab |
| 242 |
rc_status |
250 |
rc_status |
| 243 |
if test ! -d /sys/block/loop0 ; then |
251 |
if test ! -d /sys/block/loop0 ; then |
| 244 |
/sbin/modprobe loop |
252 |
/sbin/modprobe loop |