Page MenuHomeFreeBSD

D10959.id28911.diff
No OneTemporary

D10959.id28911.diff

Index: sys/boot/common/dev_net.c
===================================================================
--- sys/boot/common/dev_net.c
+++ sys/boot/common/dev_net.c
@@ -367,8 +367,19 @@
}
/*
- * Strip the server's address off of the rootpath if present and return it in
- * network byte order, leaving just the pathname part in the global rootpath.
+ * Parses the rootpath if present
+ *
+ * The rootpath format can be in the form
+ * <scheme>://ip/path
+ * <scheme>:/path
+ *
+ * For compatibility with previous behaviour it also accepts (as NFS scheme)
+ * ip:/path
+ * /path
+ *
+ * If an ips is set it returns it in network byte order.
+ * The default scheme if not specified is NFS (defined in the global netproto
+ * It leaves just the pathname in the global rootpath.
*/
uint32_t
net_parse_rootpath()

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 11, 3:24 PM (4 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38714220
Default Alt Text
D10959.id28911.diff (812 B)

Event Timeline