Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: Wrong number of disks returned by DosPhysicalDisk

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Lars Erdmann <lars.erdmann@arcor.de>
Newsgroups comp.os.os2.programmer.misc
Subject Re: Wrong number of disks returned by DosPhysicalDisk
Date Sun, 17 Mar 2019 09:57:37 +0100
Organization solani.org
Lines 25
Message-ID <q6l263$u4a$1@solani.org> (permalink)
References <zavrhjmncnay.po8i180.pminews@news.aioe.org> <q66r28$8ne$1@news.dns-netz.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding 7bit
X-Trace solani.org 1552813059 30858 127.0.0.43 (17 Mar 2019 08:57:39 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 17 Mar 2019 08:57:39 +0000 (UTC)
User-Agent Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
X-User-ID eJwNy8EBwCAIA8CVNBDAcYQ2+4/Q3v9osWPSg+EUNZhZlc4+Zb4WcPG0DKwaa9Fzgzh6b+hPHwvaEHM=
Cancel-Lock sha1:UBmA0zjaDpvjR1meTY7023btDa0=
In-Reply-To <q66r28$8ne$1@news.dns-netz.com>
Xref csiph.com comp.os.os2.programmer.misc:1657

Show key headers only | 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