delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/27/16:03:10

From: "Ben Davis" <ben AT vjpoole DOT freeserve DOT co DOT uk>
Newsgroups: comp.games.development.programming.misc,comp.os.msdos.djgpp
Subject: Disk Serial Numbers
Date: Wed, 27 Oct 1999 20:52:13 +0100
Organization: Customer of Planet Online
Lines: 13
Message-ID: <7v7lar$aa1$1@news8.svr.pol.co.uk>
NNTP-Posting-Host: modem-55.iron.dialup.pol.co.uk
X-Trace: news8.svr.pol.co.uk 941054107 10561 62.136.12.183 (27 Oct 1999 19:55:07 GMT)
NNTP-Posting-Date: 27 Oct 1999 19:55:07 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT Delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This may be slightly off topic, but please bear with me...

I have noticed that some floppy disks have serial numbers; the serial number
appears when I type 'dir/w'. Can someone confirm that the serial number of a
floppy disk cannot be changed through software (if at all), and explain how
to write a program which reads it? (After all, 'dir' does it, so it must be
possible.)
If there is a DJGPP function to do this, I would like to know. Otherwise I
will use whatever low-level DOS Interrupts or whatever are necessary.

Ben Davis


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019