Thanks in advance,
/Karl
What model Mac? What OS?
For recent Macs running OS X, just use the Apple Menu -> About This Mac.
--
-Ernie-
"There are only two kinds of computer users -- those who have
suffered a catastrophic hard drive failure, and those who will."
Have you done your backup today?
>In article <1124410169.5...@g47g2000cwa.googlegroups.com>,
> "KarlD" <k_d...@hotmail.com> wrote:
>What model Mac? What OS?
>For recent Macs running OS X, just use the Apple Menu -> About This Mac.
Karl asked about *from software*;
so he (we) wish to know how the "About This Mac" panel does it.
--
Chris.
"Apple Menu -> About This Mac -> More Info" does it for me on 10.3.9.
leo
> Is there a system call in Mac OS X that can pass this serial number to
> application software?
$ system_profiler SPHardwareDataType | grep Serial
--
_xavier
--
Only one "o" in my e-mail address
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
> Does anyone know how to read, through software, the Apple Serial Number
> that's stored in firmware on the motherboard? I suppose only newer Mac
> models have such a permanent unique ID number that cannot be changed
> and I've heard it's to be used primarily for warranty purposes with
> AppleCare.
Your supposition is incorrect in that no Mac shipped to date has a
"unique ID number that cannot be changed."
Macs have shipped with a software accessible serial number since
mid-1998. The serial number has been stored in several locations, some
of which were trivially destructible, and all of which could be
eliminated without specific intent.
> I remember older Mac's used to have a serial number stored
> on the hard disk but it could easily be changed by reformatting the
> hard drive.
> Is there a system call in Mac OS X that can pass this serial number to
> application software?
I believe at the moment it's somewhere in OpenFirmware or someplace
similar. Google in the comp.sys.mac.programmer hierarchy for code.
--
Goal 2005: Convincing James Hetfield to cover the Strawberry Shortcake
"Are You Berry Berry Happy?" song.
/Karl
That's what I meant. Models that are relatively new have the
serial number stored in non-volative firmware/ROM that cannot
be changed by user or application software in any way. Although
I don't know what year and models Apple started storing it in firmware.
This is similar to Sun systems which have always had a 'hostid'
burnt into a PROM on the motherboard. Although there you could
always order a new PROM from Sun with whatever number you
wanted to have burn into it, don't know if Apple will allow you to do
that. Such ID numbers can be misused by application software
developer who may introduce a node lock on software they ship.
/Karl
> "Apple Menu -> About This Mac -> More Info" does it for me on 10.3.9.
"Apple Menu" -> "About This Mac" and click on the OS X version number
twice gets me serial numbers on both my Pismo and my G4/Digital Audio...
Greg B.
PS. First click gets the OS X Build Number...
--
Actual e-mail address is gbuchner and I'm located at mn.rr.com
> > The serial number has been stored in several locations, some
> > of which were trivially destructible, and all of which could be
> > eliminated without specific intent
>
> That's what I meant. Models that are relatively new have the
> serial number stored in non-volative firmware/ROM that cannot
> be changed by user or application software in any way.
as explained, it is rather easy to change or remove, and often
unintentionally. what do you plan to do if no serial number is
returned?
> > The serial number has been stored in several locations, some
> > of which were trivially destructible, and all of which could be
> > eliminated without specific intent
>
> That's what I meant. Models that are relatively new have the
> serial number stored in non-volative firmware/ROM that cannot
> be changed by user or application software in any way.
What you meant is not what I said nor what is correct, then. I said that
the serial number _can_ be changed or erased. On some models it's
trivial. On all models that I can think of it can happen as a
side-effect of some other action (i.e. "without specific intent").
There are ways to get it from software - obviously - but it's really not
reliable. I don't know or care what you are planning on using it for,
but I will warn you that it's entirely possible for it to change or
disappear from one retrieval attempt to the next. So whatever your need
for it, keep that in mind.
G