GNU bug report logs - #7003
Serial Number of Linux Operating System

Previous Next

Package: coreutils;

Reported by: "Sudarshan N C." <sudarshannc <at> amiindia.co.in>

Date: Thu, 9 Sep 2010 06:19:02 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Sudarshan N C." <sudarshannc <at> amiindia.co.in>
Subject: bug#7003: closed (Re: bug#7003: Serial Number of Linux Operating
 System)
Date: Thu, 09 Sep 2010 08:40:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7003: Serial Number of Linux Operating System

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7003 <at> debbugs.gnu.org.

-- 
7003: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7003
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bob Proulx <bob <at> proulx.com>
To: "Sudarshan N C." <sudarshannc <at> amiindia.co.in>
Cc: 7003-done <at> debbugs.gnu.org
Subject: Re: bug#7003: Serial Number of Linux Operating System
Date: Thu, 9 Sep 2010 02:41:18 -0600
Sudarshan N C. wrote:
>                 "This is not relevant to any bug with any of the
> commands but  just  a clarification"

In the future it would be better to send these types of questions to
the coreutils discussion list instead of to bug-coreutils, since it
isn't a bug and that way it won't open a bug in the defect tracker.
Since this isn't a bug I am going to close it.

>                 I'm an amateur to the linux environment. I have been
> trying some days to find the serial number of linux operating system in
> a generic way(applicable to most of the distros). But I could not.

In the GNU/Linux environment there really isn't a serial number
available.  What you are asking for isn't possible.

> Also let me know the difference between the version and release of a
> kernel. Uname -r gives me the release of the kernel and uname -v gives
> the version which I find actually as a date and time information - does
> it mean the build time of the kernel.

Yes.  You are correct.  But different vendors put different
information in there.  IBM AIX puts major release (4) and minor
release (3) for 4.3 for example.  There isn't a standard for it.

> Then what does cat /etc/*release file convey?  I mean I want to what
> a version exactly mean and is it same as 5.4?

That is a vendor specific file with vendor specific information.
Every vendor puts different things in there.  It is intended to
indicate the operating system version.  But the format of the
information varies from vendor to vendor.

Bob

[Message part 3 (message/rfc822, inline)]
From: "Sudarshan N C." <sudarshannc <at> amiindia.co.in>
To: <bug-coreutils <at> gnu.org>
Subject: Serial Number of Linux Operating System
Date: Thu, 9 Sep 2010 11:30:29 +0530
[Message part 4 (text/plain, inline)]
Dear David,

 

                "This is not relevant to any bug with any of the
commands but  just  a clarification"

 

                I'm an amateur to the linux environment. I have been
trying some days to find the serial number of linux operating system in
a generic way(applicable to most of the distros). But I could not. I
have tried the following possibilities.

 

1.       Uname -X =  is not supported in my machine, I hope I require an
advanced version for this.

2.       dmidecode   does not have OS specific information. With this
tool,  serial numbers of BIOS, processor etc are successful but not that
of OS'.

3.       Cat /etc/*release or /etc/*version or cat /proc/version.

4.       lsattr and sysinfo commands.

 

Just for your info-I'm using RHEL 5.4 32 bit version.

Is this serial number retrieval specific to  vendor  or  not?  Please
help me in identifying the way to find the serial number of OS.

 

Also let me know the difference between the version and release of a
kernel. Uname -r gives me the release of the kernel and uname -v gives
the version which I find actually as a date and time information - does
it mean the build time of the kernel. Then what does cat /etc/*release
file convey?  I mean I want to what a version exactly mean and is it
same as 5.4? 

 

 

Thanks,

Sudarshan.

[Message part 5 (text/html, inline)]

This bug report was last modified 14 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.