D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] kernel version

 

Neil Winchurst wrote:
> 
> /proc/version is an empty file. 

Did you "cat /proc/version" or just look at the size?

/proc is not a real filesystem but a way of presenting (and in some
cases changing) kernel settings and data as if it were a file system,
hence the rather bizarre behaviour.....

$ ls -l /proc/version
-r--r--r-- 1 root root 0 2006-08-11 17:40 /proc/version

$ cat /proc/version
Linux version 2.6.15.2 (root@derek) (gcc version 3.3.6 (Debian
1:3.3.6-12)) #1 SMP PREEMPT Fri Feb 3 21:25:29 GMT 2006

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html