GNU bug report logs -
#7003
Serial Number of Linux Operating System
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 9 Sep 2010 02:41:18 -0600
with message-id <20100909084118.GA22353 <at> hysteria.proulx.com>
and subject line Re: bug#7003: Serial Number of Linux Operating System
has caused the GNU bug report #7003,
regarding Serial Number of Linux Operating System
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> 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)]
[Message part 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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
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.