Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-14-2012, 06:53 PM   #1
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 456

Rep: Reputation: 182Reputation: 182
"man -k" Question

In this recent thread stf92 wrote in part ...
I run 'apropos' and find two programs: rdev and vbetool. But rdev is nowhere to be seen.
I found the following interesting when exploring that post.

$ man -k rdev
rdev []              (8)  - query/set image root device, RAM disk size, or video mode
Although this man -k command responds with the rdev(8) reference, the man page for rdev doesn't exist in Section 8 or anywhere else in Slack64 14.0.

Yet, as the OP stated, the rdev program is not to be found .... except in busybox.

Previously, in Slack 13.0, the program /usr/sbin/rdev was included along with the section 8 man page.

rdev appears to have been removed in 13.37 & 14.0. I recall reading a while ago that rdev was deprecated.

My question is how did the man -k or apropos commands include the rdev(8) reference? Is there an old cache file leftover from an earlier version?

I looked through the /usr/lib64/man.conf file, and there was no /var/cache man file, but didn't find anything obvious to answer my question.
Old 11-14-2012, 07:19 PM   #2
Registered: Sep 2007
Location: UK
Distribution: Slackware 14.1
Posts: 73

Rep: Reputation: 24
It uses the whatis files which are created using the makewhatis command. Possibly those files are not up to date. Read man makewhatis. What you may need to do is run makewhatis -w as root.
1 members found this post helpful.
Old 11-14-2012, 07:51 PM   #3
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 456

Original Poster
Rep: Reputation: 182Reputation: 182
Uses /usr/man/whatis database

Thanks vulcan59 !

The file /usr/man/whatis is dated from 2009 and contains the rdev(8) entry.

When I edit that file, removing the rdev entry, then run the "man -k rdev" command, rdev(8) is no longer found.

Although commands to update file system "lists/indexes" may be considered part of the administrator's duties, it may not be a bad idea to include commands like makewhatis or updatedb as part of Slackware release build process to clean out the old stuff and include any new (included) man pages between releases.


man, man-pages

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 12:05 PM
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 05:08 PM
one man's "handy" is another man's "clunky" stabu Linux - Distributions 1 03-19-2009 06:51 PM
difference between "man" and "info" gexecuter Linux - Newbie 17 09-26-2007 04:17 PM
"man" on FC4 question kenwong Linux - General 1 11-28-2006 10:01 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration