Page MenuHomeFreeBSD

Mark fdisk(8) obsolete.
ClosedPublic

Authored by trasz on Aug 6 2015, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 8, 3:23 AM
Unknown Object (File)
Fri, Mar 8, 3:23 AM
Unknown Object (File)
Fri, Mar 8, 3:23 AM
Unknown Object (File)
Fri, Mar 8, 3:23 AM
Unknown Object (File)
Fri, Mar 8, 3:11 AM
Unknown Object (File)
Nov 14 2023, 2:33 PM
Unknown Object (File)
Nov 11 2023, 8:40 AM
Unknown Object (File)
Nov 8 2023, 5:43 AM
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 Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #7751)

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 ↗(On Diff #7751)

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.