Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f910e6f2
Commit
f910e6f2
authored
Oct 27, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] updated ver_linux
parent
220897ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
scripts/ver_linux
scripts/ver_linux
+13
-3
No files found.
scripts/ver_linux
View file @
f910e6f2
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
# /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
# differ on your system.
# differ on your system.
#
#
PATH
=
/sbin:/usr/sbin:/bin:/usr/bin:
$PATH
PATH
=
/sbin:/usr/sbin:/bin:/usr/bin:
/usr/local/sbin:
$PATH
echo
'If some fields are empty or look unusual you may have an old version.'
echo
'If some fields are empty or look unusual you may have an old version.'
echo
'Compare to the current minimal requirements in Documentation/Changes.'
echo
'Compare to the current minimal requirements in Documentation/Changes.'
echo
' '
echo
' '
...
@@ -12,7 +12,11 @@ echo ' '
...
@@ -12,7 +12,11 @@ echo ' '
uname
-a
uname
-a
echo
' '
echo
' '
echo
"Gnu C "
`
gcc
--version
`
gcc
--version
2>&1|
head
-n
1 |
grep
-v
gcc |
awk
\
'NR==1{print "Gnu C ", $1}'
gcc
--version
2>&1|
grep
gcc |
awk
\
'NR==1{print "Gnu C ", $3}'
make
--version
2>&1 |
awk
-F
,
'{print $1}'
|
awk
\
make
--version
2>&1 |
awk
-F
,
'{print $1}'
|
awk
\
'/GNU Make/{print "Gnu make ",$NF}'
'/GNU Make/{print "Gnu make ",$NF}'
...
@@ -29,9 +33,15 @@ insmod -V 2>&1 | awk 'NR==1 {print "modutils ",$NF}'
...
@@ -29,9 +33,15 @@ insmod -V 2>&1 | awk 'NR==1 {print "modutils ",$NF}'
tune2fs 2>&1 |
grep
"^tune2fs"
|
sed
's/,//'
|
awk
\
tune2fs 2>&1 |
grep
"^tune2fs"
|
sed
's/,//'
|
awk
\
'NR==1 {print "e2fsprogs ", $2}'
'NR==1 {print "e2fsprogs ", $2}'
reiserfsck 2>&1 |
grep
reiserfsprogs |
awk
\
fsck.jfs
-V
2>&1 |
grep
version |
sed
's/,//'
|
awk
\
'NR==1 {print "jfsutils ", $3}'
reiserfsck
-V
2>&1 |
grep
reiserfsprogs |
awk
\
'NR==1{print "reiserfsprogs ", $NF}'
'NR==1{print "reiserfsprogs ", $NF}'
xfs_db
-V
2>&1 |
grep
version |
awk
\
'NR==1{print "xfsprogs ", $3}'
cardmgr
-V
2>&1|
grep
version |
awk
\
cardmgr
-V
2>&1|
grep
version |
awk
\
'NR==1{print "pcmcia-cs ", $3}'
'NR==1{print "pcmcia-cs ", $3}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment