Skip to contentSkip to conversation

clarify network drive description

PATCH In review Andrey Borzenkov 2 participants 2 messages May 9, 2013 – May 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clarify network drive description

Mention that network drives can include server address and that necessary modules are not autoloaded and must be loaded manually. Also cross-reference to net_default_server.

---
 ChangeLog      | 5 +++++
 docs/grub.texi | 9 ++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
ChangeLog +5 -0
index 33d1265..d661157 100644
@@ -1,3 +1,8 @@
+2013-05-09  Andrey Borzenkov <[email protected]>
+
+	* docs/grub.texi (Device syntax): Clarify description of network
+	drives.
+
 2013-05-08  Andrey Borzenkov <[email protected]>
 
 	* docs/grub.texi (Network): Add description of net_default_interface,
docs/grub.texi +6 -3
index 70c0de8..95b74d8 100644
@@ -2531,9 +2531,12 @@ of the partition when installing GRUB).
 (hd0,1,3)
 @end example
 
-If you enabled the network support, the special drives @samp{(tftp)},
-@samp{(http)} and so on ars also available.
-Before using the network drive, you must initialize the network.
+If you enabled the network support, the special drives
+@code{(@var{protocol}[,@var{server}])} are also available. Supported protocols
+are @samp{http} and @samp{tftp}. If @var{server} is omitted, value of
+environment variable @samp{net_default_server} is used.
+Note that necessary modules (@samp{http} and @samp{tftp}) have to be loaded
+manually. Before using the network drive, you must initialize the network.
 @xref{Network}, for more information.
 
 If you boot GRUB from a CD-ROM, @samp{(cd)} is available. @xref{Making
Signature · 1 line
tg: (e33686c..) u/net_drive (depends on: master)
#1 lore raw
Quoted 31 lines · Andrey Borzenkov

Mention that network drives can include server address and that necessary modules are not autoloaded and must be loaded manually. Also cross-reference to net_default_server.

---
 ChangeLog      | 5 +++++
 docs/grub.texi | 9 ++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
ChangeLog +5 -0
index 33d1265..d661157 100644
@@ -1,3 +1,8 @@
+2013-05-09  Andrey Borzenkov <[email protected]>
+
+	* docs/grub.texi (Device syntax): Clarify description of network
+	drives.
+
 2013-05-08  Andrey Borzenkov <[email protected]>
 
 	* docs/grub.texi (Network): Add description of net_default_interface,
docs/grub.texi +0 -0
index 70c0de8..95b74d8 100644
@@ -2531,9 +2531,12 @@ of the partition when installing GRUB).
 (hd0,1,3)
 @end example

docs/grub.texi of the partition when installing GRUB). · line 2539

Quoted 10 lines
docs/grub.texi +6 -3
 
-If you enabled the network support, the special drives @samp{(tftp)},
-@samp{(http)} and so on ars also available.
-Before using the network drive, you must initialize the network.
+If you enabled the network support, the special drives
+@code{(@var{protocol}[,@var{server}])} are also available. Supported protocols
+are @samp{http} and @samp{tftp}. If @var{server} is omitted, value of
+environment variable @samp{net_default_server} is used.
+Note that necessary modules (@samp{http} and @samp{tftp}) have to be loaded
+manually. Before using the network drive, you must initialize the network.

I've changed it: now http/tftp are autoloaded but you still need network interface module (pxe/ieee1275_net/...) loaded manually.
Can you please adjust this patch to this improvement and commit?