Skip to contentSkip to conversation

iproute2: split up ip man page?

RFC Stephen Hemminger 4 participants 7 messages Dec 7, 2011 – Dec 23, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The current ip man page is both incomplete and so big that the actual functions get lost easily.

I propose splitting the the pages for the subfunction into sub pages. The man command appears
to be smart enough to handle:
man tc htb

and pickup the manpage for /usr/share/man/man1/tc-htb.8.gz Why not do the same thing for ip command?

The base ip page would just be a place holder that covered the generic arguments.

#1 lore raw
Quoted 7 lines · Stephen Hemminger

The current ip man page is both incomplete and so big that the actual functions get lost easily.

I propose splitting the the pages for the subfunction into sub pages. The man command appears
to be smart enough to handle:
man tc htb

Or, for another familiar example, 'man git diff'.

Oddly enough, man(1) only describes this under the '--no-subpages' option which turns off the behaviour.

Quoted 5 lines

and pickup the manpage for /usr/share/man/man1/tc-htb.8.gz Why not do the same thing for ip command?

The base ip page would just be a place holder that covered the generic arguments.

Sounds like a very sensible change.

Ben.

Signature · 3 lines
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
#2 lore raw
In reply to Stephen Hemminger
Quoted 2 lines · Stephen Hemminger

The current ip man page is both incomplete and so big that the actual functions get lost easily.

I totally agree.

Quoted 10 lines

I propose splitting the the pages for the subfunction into sub pages. The man command appears
to be smart enough to handle:
man tc htb

and pickup the manpage for /usr/share/man/man1/tc-htb.8.gz Why not do the same thing for ip command?

The base ip page would just be a place holder that covered the generic arguments.

+1

-- Petr

#3 lore raw
In reply to Stephen Hemminger
Quoted 11 lines · On Wed, 7 Dec 2011 13:15:14 -0800 Stephen Hemminger <[email protected]>…

The current ip man page is both incomplete and so big that the actual functions get lost easily.

I propose splitting the the pages for the subfunction into sub pages. The man command appears
to be smart enough to handle:
man tc htb

and pickup the manpage for /usr/share/man/man1/tc-htb.8.gz Why not do the same thing for ip command?

Quoted 8 lines

The base ip page would just be a place holder that covered the generic arguments.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Ok, the ip man page is now broken up. I tried to fix some of the incorrect grammar and usage as well. The pages still need editing for readability.

Added a few examples as well.

Please download from the git repository and send me any comments or changes.

git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git

#4 lore raw
Quoted 3 lines · * Stephen Hemminger | 2011-12-22 10:37:23 [-0800]:

Ok, the ip man page is now broken up. I tried to fix some of the incorrect grammar and usage as well. The pages still need editing for readability.

Great! Commit 1b1177ed5f3 synched kernel headers. Should I rebase my iproute netem rate patch (and again update include/linux/pkt_sched.h for net-next) or keep you aware of this?

Hagen

#5 lore raw
Quoted 11 lines · On Fri, 23 Dec 2011 01:10:03 +0100 Hagen Paul Pfeifer <[email protected]> wrote:
Quoted 3 lines · * Stephen Hemminger | 2011-12-22 10:37:23 [-0800]:

Ok, the ip man page is now broken up. I tried to fix some of the incorrect grammar and usage as well. The pages still need editing for readability.

Great! Commit 1b1177ed5f3 synched kernel headers. Should I rebase my iproute netem rate patch (and again update include/linux/pkt_sched.h for net-next) or keep you aware of this?

Hagen

I am fixing netem loss stuff now. Fixing broken gimodel. After 3.2 is released, the will merge in support for 3.3 features.

#6 lore raw
Quoted 1 line · * Stephen Hemminger | 2011-12-22 16:29:59 [-0800]:

I am fixing netem loss stuff now. Fixing broken gimodel.

Great news, I have some pending patches for the gimodel too.

Hagen