;;
esac
+ if [ "$rootFs" = "nfs" ]; then
+ rootdev="/dev/nfs"
+ return 0
+ fi
+
if [ ! -r "$rootdev" ]; then
echo >&2 "$function: can't find real device for $rootdev"
return 1
if [ "$INITRDFS" = "initramfs" ]; then
inst_d /newroot
- [ ! -e "$DESTDIR/$rootdev" ] && inst $rootdev /dev
+ if [ "$rootdev" = "/dev/nfs" ]; then
+ echo "rootfs on NFS root=/dev/nfs"
+ else
+ [ ! -e "$DESTDIR/$rootdev" ] && inst $rootdev /dev
+ fi
# Parsing root parameter
# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
add_linuxrc <<-'EOF'