Page MenuHomeFreeBSD

Mark fdisk(8) obsolete.
ClosedPublic

Authored by trasz on Aug 6 2015, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 7:35 AM
Unknown Object (File)
Sat, Nov 23, 7:24 PM
Unknown Object (File)
Fri, Nov 22, 4:09 PM
Unknown Object (File)
Wed, Nov 20, 11:48 AM
Unknown Object (File)
Nov 12 2024, 12:13 AM
Unknown Object (File)
Nov 11 2024, 11:56 PM
Unknown Object (File)
Nov 10 2024, 12:18 PM
Unknown Object (File)
Nov 9 2024, 4:23 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

trasz retitled this revision from to Mark fdisk(8) obsolete..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

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.

trasz edited edge metadata.

Tweak a little.

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.

In D3315#70811, @trasz wrote:

One more thing: should we use "obsolete", or "deprecated" here?

"Deprecated" is the usual term to mean "we recommend that nobody uses this any more".

Hm, ok. So, is there anything left to do here?

In D3315#72810, @trasz wrote:

Hm, ok. So, is there anything left to do here?

I guess not, unless you want to change the "obsolete" to "deprecated".

So, would you mark it "Accepted" then?

wblock added a reviewer: wblock.
This revision is now accepted and ready to land.Sep 2 2015, 12:54 PM
This revision was automatically updated to reflect the committed changes.