[prev in list] [next in list] [prev in thread] [next in thread]
List: initramfs
Subject: NFS module of dracut
From: "Christoph Pleger" <Christoph.Pleger () cs ! tu-dortmund ! de>
Date: 2015-04-21 15:12:32
Message-ID: d15286f46d88dac84ba69cb847cf526b.squirrel () postweb ! cs ! tu-dortmund ! de
[Download RAW message or body]
Hello,
I am just looking at nfs-lib.sh from the nfs module of dracut 040+1 and I
have two questions about it:
1. If no NFS-Server is defined on the kernel command line, dracut takes
the value from DHCP. In nfsroot_from_dhcp, first the value of
$new_dhcp_server_identifier is taken for $server, and only if this is
still empty, $new_next_server is taken for $server. Should it not be the
other way round?
2. As a last resort, ${new_root_path%%:*} is taken for $server. But has
this not been evaluated a few lines earlier, by calling nfsroot_to_var,
which already assigns a value to $server if ${new_root_path%%:*} contains
something useful? Or do I misunderstand these lines?
Regards
Christoph
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic