From: lheureuxph
Subject: Help me :-)
Date: 
Message-ID: <bfg7ar$elc$1@news-reader5.wanadoo.fr>
how to read the s�rial or volume number of the hard disk without passing by
the DOS ?

From: Daniel Barlow
Subject: Re: Help me :-)
Date: 
Message-ID: <87r84k2mkq.fsf@noetbook.telent.net>
"lheureuxph" <··········@wanadoo.fr> writes:

> how to read the s�rial or volume number of the hard disk without passing by
> the DOS ?

It's usually printed on the outside of the drive.  You may need to
remove it from the case first, if it's mounted upside down or something.


-dan

-- 

   http://www.cliki.net/ - Link farm for free CL-on-Unix resources 
From: lheureuxph
Subject: Re: Help me :-)
Date: 
Message-ID: <bfgj0k$3gj$1@news-reader4.wanadoo.fr>
Have you the lisp code for this function ?
From: Frank A. Adrian
Subject: Re: Help me :-)
Date: 
Message-ID: <_HVSa.30$A%6.30399@news.uswest.net>
lheureuxph wrote:

> Have you the lisp code for this function ?

The code needed to read a disk serial number from within a program varies
quite extensively from OS to OS (and even within different versions of
OS'es - see different protocols in different Windows versions, for
example).  It is unlikely that there would be generic CL code that did
this, as it would simply be a thin Lisp layer over an FFI to access the
OS-level function (and an OS function that was rarely used, at that).  If
you have a particular OS version and Lisp version in mind, someone might
have a solution for you.

faa

P.S.  This is also a bit trickier than it looks - if you have more than one
device on an IDE or SCSI chain, which one do you access?  If you're using
this as part of a security system (or backup system, or ...) what happens
when someone swaps out a hard drive.  It would be much easier to help you
if you gave us some idea of what you want it for...