Groups | Search | Server Info | Login | Register


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

Re: formatting to FAT32

From Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM>
Newsgroups comp.os.os2.misc, comp.os.os2.beta, comp.os.os2.utilities, comp.os.os2.programmer.misc
Subject Re: formatting to FAT32
References (7 earlier) <slrnipa2qd.uqm.nospam-abuse@powdermilk.math.berkeley.edu> <IU.D20110401.T011141.P31426.Q0@J.de.Boyne.Pollard.localhost> <4D95CB7D.2060206@chollian.net> <IU.D20110401.T183722.P49800.Q0@J.de.Boyne.Pollard.localhost> <4D9720E3.7060208@chollian.net>
Message-ID <IU.D20110402.T180004.P53879.Q0@J.de.Boyne.Pollard.localhost> (permalink)
Organization virginmedia.com
Date 2011-04-02 18:59 +0100

Cross-posted to 4 groups.

Show all headers | View raw


> And what do you think about sector-mode of HPFS ? Is it also not any 
> use at all because it is not independent of filesystem format ?
>

It's certainly not desirable.  I'd much prefer everything to use the 
"new" (if something from 1999 can be called that any more) OS/2 4.5 
"raw" paradigm where possible.  Open with DosOpenL, seek around with 
DosSetFilePtrL, and read and write with DosRead/DosWrite.  No magic 
filesystem-specific FSCtls or IOCtls at all.

> I think, you'd better make an abstraction layer for an unified access 
> to the volume using DASD.
>

I *have* an abstraction layer.  That's why filesystem-specific bodges 
are undesirable.  The abstraction layer has no knowledge of filesystem 
format, and it's a godawful bodge to put it in, especially when it's 
clear from the Toolkit doco that OS/2 4.5 was aiming for a nice clean 
universal interface free from filesystem-specific bodges.

>> How close are you to making ordinary sector-level access with 
>> DosSetFilePtr/DosRead/DosWrite just work as it ought?
>>
> If you read all the threads, you coulud know that 
> DosSetFilePtr()/DosRead() worked as expected, but DosWrite().
>

No, they *do not* work as expected.  (And there was no thread from 2005 
that actually stated otherwise.  Indeed, we have you yourself saying 
that "I don't know what the cause is." and "HPFS386 also has a similar 
problem." and "I'll look into [it] more.".)  DosSetFilePtr() still 
returns ERROR_SEEK, just as it did in 2005.  It's returning ERROR_SEEK 
for Mark Dodel, and it's returning ERROR_SEEK for Andy WIllis.  They've 
both independently sent me logs showing this.  (I instrumented CHKVOL to 
print out the return code from the system call.)  Andy Willis has also 
kindly tested DosSetFilePtrL and that returns ERROR_SEEK too.  Working 
on the assumption that they both have the latest release of the FAT32 
filesystem driver, which I have no reason to doubt, this problem has 
*not* been fixed and the calls do *not* work as they ought to.  And we 
even have you stating that HPFS386.IFS, also lacking the FS_CHGFILEPTRL 
entrypoint, has the same problem.

Mark Dodel has confirmed that this is FAT32.IFS causing this, by the 
simple expedient of disabling the filesystem driver and using CHKVOL 
/FS:FAT, which uses the same access method for reading/writing the 
volume contents (it being filesystem-agnostic and all).  That worked, he 
told me.  DosSetFilePtr() didn't return ERROR_SEEK.  And Allan Holm has 
provided a useful datum, since he has managed to get things to work with 
the FAT32.IFS driver installed, but on a ~4GiB volume.

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


Thread

Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-01 02:11 +0100
  Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-01 21:56 +0900
    Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-01 19:37 +0100
      Re: formatting to FAT32 "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-02 10:21 +0200
        Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-02 15:16 +0100
          Re: formatting to FAT32 Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-02 21:49 +0000
            Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 02:17 +0100
              Re: formatting to FAT32 Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-03 09:17 +0000
                Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 19:51 +0100
          Re: formatting to FAT32 "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-03 00:12 +0200
            Re: Is JFS really open source? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 01:50 +0100
              Re: Is JFS really open source? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 19:32 +0100
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-03 14:04 -0700
                Re: Is JFS really open source? Steve Wendt <spamsux@forgetit.org> - 2011-04-03 15:51 -0700
                Re: Is JFS really open source? "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-04 01:24 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-04 11:22 +0200
                Re: Is JFS really open source? Anonymous <nobody@remailer.paranoici.org> - 2011-04-04 16:44 +0200
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-04 09:03 -0700
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-05 17:15 +0200
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-05 16:29 -0700
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 04:16 +0200
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-10 19:28 -0700
                Re: Is JFS really open source? what.ever@neverm.ind (A.D. Fundum) - 2011-04-11 05:06 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 07:07 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 07:25 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-25 12:20 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 02:34 +0200
              Re: Is JFS really open source? "Alex Taylor" <mail.me@reply.to.address> - 2011-04-04 09:51 -0500
                Re: Is JFS really open source? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-05 19:51 +0100
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-05 16:34 -0700
                Re: Is JFS really open source? "Andy" <nospam-abwillis1-nopspam@nospam-gmail.com> - 2011-04-06 01:05 +0000
                Re: Is JFS really open source? "Alex Taylor" <mail.me@reply.to.address> - 2011-04-08 04:24 -0500
                Re: Is JFS really open source? Paul Ratcliffe <abuse@orac12.clara34.co56.uk78> - 2011-04-08 11:49 +0000
                Re: Is JFS really open source? "Alex Taylor" <mail.me@reply.to.address> - 2011-04-10 01:26 -0500
                Re: Is JFS really open source? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-08 21:03 +0100
                Re: Is JFS really open source? "Alex Taylor" <mail.me@reply.to.address> - 2011-04-10 01:25 -0500
                Re: Is JFS really open source? Dave Yeo <dave.r.yeo@gmail.com> - 2011-04-10 00:42 -0700
                Re: Is JFS really open source? "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-10 21:31 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-10 23:37 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-10 11:37 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-10 22:42 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 00:21 +0200
                Re: Is JFS really open source? "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-11 01:15 +0200
          Re: Does JFS work on OS/2 version 4.0 and earlier? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 22:29 +0100
            Re: Does JFS work on OS/2 version 4.0 and earlier? "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-04 01:31 +0200
              Re: Does JFS work on OS/2 version 4.0 and earlier? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-04 11:31 +0100
          Re: formatting to FAT32 Lars Erdmann <lars.erdmann@arcor.de> - 2011-04-04 20:57 +0200
            Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-05 15:09 +0100
              Re: formatting to FAT32 Lars Erdmann <lars.erdmann@arcor.de> - 2011-04-06 08:07 +0200
      Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-02 22:13 +0900
        Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-02 18:59 +0100
          Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-03 14:51 +0900
            Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 22:00 +0100
              Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-04 22:19 +0900
                Re: formatting to FAT32 "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-04 16:51 +0200
                Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-06 18:20 +0100
                Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-14 22:38 +0900
            Re: formatting to FAT32 "Andy" <nospam-abwillis1-nopspam@nospam-gmail.com> - 2011-04-05 15:42 +0000
              Re: formatting to FAT32 "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-05 20:08 +0200
                Re: formatting to FAT32 "Andy" <nospam-abwillis1-nopspam@nospam-gmail.com> - 2011-04-05 22:49 +0000
                Re: formatting to FAT32 "Allan" <allan2@warpspeed.dyndns.dk> - 2011-04-06 01:23 +0200
                Re: formatting to FAT32 "Andy" <nospam-abwillis1-nopspam@nospam-gmail.com> - 2011-04-06 01:10 +0000
                Re: formatting to FAT32 KO Myung-Hun <komh@chollian.net> - 2011-04-06 21:49 +0900
                Re: formatting to FAT32 "Andy" <nospam-abwillis1-nopspam@nospam-gmail.com> - 2011-04-06 14:34 +0000
                Re: FAT32: SLOOOOOW Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-08 21:11 +0000
        Re: formatting to FAT32 Ilya Zakharevich <nospam-abuse@ilyaz.org> - 2011-04-02 22:00 +0000
          Re: formatting to FAT32 Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2011-04-03 02:32 +0100
      ZIP.IFS, LZH "A.D. Fundum" <what.ever@neverm.ind> - 2011-04-05 16:42 +0200

csiph-web