Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 1995 15:15:08 -0500
From:      Garrett Wollman <>
To:        "M.C Wong" <>
Cc: (
Subject:   program to show current kernel's features
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
<<On Fri, 10 Feb 1995 15:09:49 EDT, "M.C Wong" <> said:

>   Just wonder if there is a user command to show various OPTIONS compiled
>   into the kernel, or loaded LKM. This will be a good thing to have to
>   know if NFS , ISOFS support etc present in this kernel without actually
>   having to run programs that need those features to suceed or fail.

For filesystems, use the `lsvfs' command.

I don't think it's particularly useful to build a generic
option-listing facility, since we're trying to get away from that
model of kernel construction.

# fgrep 'option' /sys/`uname -m`/conf/`uname -v | sed 's,^.*/\([^/]*\)$,\1'` \
	| sed 's,#.^$,,' | sort -u

should do it if the source is still on-line and current.


Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ...  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant

Want to link to this message? Use this URL: <>