Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1657

Re: Wrong number of disks returned by DosPhysicalDisk

From Lars Erdmann <lars.erdmann@arcor.de>
Newsgroups comp.os.os2.programmer.misc
Subject Re: Wrong number of disks returned by DosPhysicalDisk
Date 2019-03-17 09:57 +0100
Organization solani.org
Message-ID <q6l263$u4a$1@solani.org> (permalink)
References <zavrhjmncnay.po8i180.pminews@news.aioe.org> <q66r28$8ne$1@news.dns-netz.com>

Show all headers | View raw


... rather disks that are "reserved" by USBMSD.ADD.
If you tell USBMSD.ADD to prepare 8 units via setting the
/REMOVABLES:8 switch then USBMSD.ADD will report to the OS
that it is managing 8 units even if no USB stick/disk is plugged in.
That's because of a limitation in OS/2 that needs to know
already at boot up time how many partitionable devices are there.
You can easily test: change /REMOVABLES: to another value and see what
DosPhysicalDisk will report back.

Lars


On 12.03.19 00.30, Marcel Mueller wrote:
> Am 11.03.19 um 22:36 schrieb Mat Nieuwenhoven:
>> Hi, I hope this group is still alive somewhat.
>>
>> I was looking at Airboot's source, and noticed that the call
>> DosPhysicalDisk returns 10 partitionable disks. But there are only two
>> on this system, and SSD and a HD. What is wrong here?
>
> Card reader wich supports many formats?
>
>
> Marcel

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Wrong number of disks returned by DosPhysicalDisk "Mat Nieuwenhoven" <mnieuw@dontincludethis.zap.a2000.nl> - 2019-03-11 22:36 +0100
  Re: Wrong number of disks returned by DosPhysicalDisk Marcel Mueller <news.5.maazl@spamgourmet.org> - 2019-03-12 00:30 +0100
    Re: Wrong number of disks returned by DosPhysicalDisk Lars Erdmann <lars.erdmann@arcor.de> - 2019-03-17 09:57 +0100
      Re: Wrong number of disks returned by DosPhysicalDisk "Mat Nieuwenhoven" <mnieuw@dontincludethis.zap.a2000.nl> - 2019-03-17 22:40 +0100

csiph-web