TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Richard Bartlet
from: Jonathan de Boyne Pollard
date: 1995-12-27 16:23:52
subject: HPFS detect in Turbo Pas

RB>
  > -=> Quoting Johan Siegers to Tosh Maddox <=-
  >
  >  TM> either Turbo Pascal, BPOS2v_2 (c't), or VP, could you please post a
  >  TM> small sample?
  >
  >  JS> How about trying to open "HPFS...TEST" for writing ?
  >
  > Won't work through TP, dos under os/2 can use HPFS as long as it conforms
  > to the 8.3 naming standard, that would give you the same error as
  > using FAT, [...]
RB>

  If you re-read Tosh's original message, he plainly wants a means of
  detecting HPFS from PASCAL, irrespective of *which* PASCAL it is.

  It is plain that the usability of long filenames *can* be detected
  from both of the native OS/2 PASCALs by opening a file with lots of
  dots in it.  So who cares if it doesn't work from a DOS PASCAL ?
  It's completely irrelevant (and off-topic in this echo, to boot).

  Not only that, but a little thought would have revealed that even were
  it possible to determine whether a file system supported long
  filenames from a DOS program, it wouldn't be much use, since DOS
  programs would still be limited to "seeing" only 8.3 filenames.

  Incidentally, one quirk of the HPFS filesystem that *can* be used to
  detect it *specifically* from DOS (even though the information is not
  useful, for the reason given above), is that SuperFAT does not have
  "." and ".." entries in the root directory, whereas HPFS does.

  > JdeBP <
___
 X MegaMail 2.10 #0:

--- Maximus/2 3.00
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.