The loader(8) man page doesn't explain how you correctly format currdev
Details
Details
- Reviewers
kevans tsoome imp - Group Reviewers
manpages - Commits
- rS363139: Loader: explain the syntax of currdev
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
stand/man/loader.8 | ||
---|---|---|
486 ↗ | (On Diff #74334) | huh, what's with the : at the end? I don't remember ever writing it |
stand/man/loader.8 | ||
---|---|---|
486 ↗ | (On Diff #74334) | I was under the impression it's to remove ambiguity, because we may literally glue currdev and a path together for,e.g., open(). Omitting it could cause hilarityto ensue, I believe. |
stand/man/loader.8 | ||
---|---|---|
486 ↗ | (On Diff #74334) | Yeah, because the path ends up being like: zfs:dataset:/boot/kernel/kernel etc For ZFS, 'set currdev=zfs:dataset' will return an error, saying it is invalid without the trailing : |