It's 2015, and some people are still trying to use fdisk and then
go asking what debug flags to set for GEOM to make it work. Point
them in the right direction.
Details
- Reviewers
wblock - Group Reviewers
manpages - Commits
- rS287396: It's 2015, and some people are still trying to use fdisk and then
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
gpart(8) can replace both fdisk and bsdlabel. The note in the description for fdisk.8 should also be in bsdlabel.8. I think we could leave the rest of those two pages unchanged, but am not sure about the others.
I plan to do bsdlabel too, but it requires quite some more changes to do properly - translating all the usage cases to gpart - so I'd prefer to do fdisk first.
sbin/bsdlabel/bsdlabel.8 | ||
---|---|---|
452 | I would use gpart to clear the old disklabel in s1. It's safer and more correct. gpart destroy -F da0s1 |
One more thing: should we use "obsolete", or "deprecated" here?
sbin/bsdlabel/bsdlabel.8 | ||
---|---|---|
452 | This command unfortunately returns an error when there was no partition table on da0s1 in the first place, which might be confusing to the user. So I'd prefer to leave it as it is. |
"Deprecated" is the usual term to mean "we recommend that nobody uses this any more".