| Summary: | [nfs] NFS rootfs mount failure message too cryptic | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Dirk-Willem van Gulik <dirkx> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Only Me | CC: | jpaetzel |
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->cel Responsible Changed From-To: cel->freebsd-bugs Back to the public pool. |
in nfs/bootp_subr.c: When setfs() fails during NFS mount of the root partition due to essentially a malformed root path string - then the error message is simply panic("Failed to set rootfs to %s",p); without any hint as to what the problem is. Fix: Given that the message is only shown when setfs() fails - which really is by and large a syntax check function - a slightly more informative string would be really nice failed to set rootfs to '%s' - expect <ip>:/path syntax or something. Tx ! Dw