[futurebasic] Re: [FB] Disk Initialization

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: Sylvain Guillemette <allmedia@...>
Date: Thu, 17 Jun 1999 00:17:31 -0400
>You are passing a volume reference number, but DIBADMOUNT wants a drive
>number.  They are two different things.
>The volume reference number is always negative, and is assigned to the volume
>at the time it is mounted (essentially, at the time its icon shows up on your
>desktop).  Theoretically, if you have a bank of floppy drives (or CD drives,
>etc.) you could move a single volume (disk) from one drive to another and have
>it recognized as the same volume (with the same vol. ref. number) regardless
>of which drive it's in (actually, this will only work if you eject the volume
>without "unmounting" it).  The vol. ref. number is meant to stand for the
>"logical" volume of data, regardless of its physical location.
>The drive number is always positive, and is assigned to the drive as soon as
>the system recognizes that the drive is connected to the machine (usually at
>startup time).  The drive number is valid even when there's no volume in the
>drive.  The drive number is meant to stand for the physical device, regardless
>of what volume (if any) is inside it.
>- Rick

How do i get a drive number ?

Sorry, I feel like a pre-newbie :-)

Thank you,