Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153282366
D10959.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
838 B
Referenced Files
None
Subscribers
None
D10959.id.diff
View Options
Index: head/sys/boot/common/dev_net.c
===================================================================
--- head/sys/boot/common/dev_net.c
+++ head/sys/boot/common/dev_net.c
@@ -367,8 +367,20 @@
}
/*
- * 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 an NFS scheme
+ * ip:/path
+ * /path
+ *
+ * If an ip is set it returns it in network byte order.
+ * The default scheme defined in the global netproto, if not set it defaults to
+ * NFS.
+ * It leaves just the pathname in the global rootpath.
*/
uint32_t
net_parse_rootpath()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 5:48 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31892539
Default Alt Text
D10959.id.diff (838 B)
Attached To
Mode
D10959: Update the comment for the rootpath
Attached
Detach File
Event Timeline
Log In to Comment