Page MenuHomeFreeBSD

Explain the newfs naming convention
ClosedPublic

Authored by 0mp on Jan 20 2021, 10:48 AM.
Tags
None
Referenced Files
F135695816: D28251.id.diff
Tue, Nov 11, 11:34 PM
F135653596: D28251.id82612.diff
Tue, Nov 11, 3:31 PM
F135633900: D28251.id87629.diff
Tue, Nov 11, 11:38 AM
Unknown Object (File)
Mon, Nov 10, 12:42 AM
Unknown Object (File)
Sat, Oct 25, 11:12 PM
Unknown Object (File)
Tue, Oct 21, 1:50 AM
Unknown Object (File)
Mon, Oct 20, 4:18 PM
Unknown Object (File)
Mon, Oct 20, 4:18 PM
Subscribers

Details

Reviewers
kib
emaste
imp
Group Reviewers
manpages
Summary

It might be unclear why newfs and newfs_msdos should cross-reference
each other. Add a note explaining it.

Reported by: kib

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38656
Build 35545: arc lint + arc unit

Event Timeline

0mp requested review of this revision.Jan 20 2021, 10:48 AM

I am kib, for tagline purposes, not kostikbel.

sbin/newfs/newfs.8
302

I do not see much usefulness in this parenthesized text, it can be omitted without any loss.

In D28251#631762, @kib wrote:

I am kib, for tagline purposes, not kostikbel.

Ach yes, sorry about that. :)

Let me know if the change here looks good to you. Otherwise, I'll revert the cross-reference from both newfs and newfs_msdos, as I can see some elegance in this approach well. Cheers!

rpokala added inline comments.
sbin/newfs/newfs.8
306

I think this version reads better in English:

.Sh NOTES ON THE NAMING
.Dq newfs
is a common name prefix for utilities creating filesystems, with the suffix
indicating the type of the filesystem, for instance
.Xr newfs_msdos 8 .
.Nm
is a special case which predates that convention.
This revision is now accepted and ready to land.Apr 17 2021, 8:38 PM