🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2543

HPFS and IBM C/2, part two

#2543
From: Paul Rolland
Date: Tue, 16 Apr 1991 18:33
25 lines
1620 bytes
Hi Networkers,
	
	
	Another question about OS/2, HPFS and the OS/2 calls to file function.
In my previous message, I told that I couldn't access a file on an HPFS disk
with the C/2 open and fopen functions. So, I used the OS/2 call DosOpen.
And then, suprise. I thought HPFS could handle long file name... So, I tried
to DosOpen the file ROUTETABLE.DATA, but it fails, returning me the error
206 (FILENAME_EXCED_RANGE). So, I had to reduce it to ROUTE.TAB, without 
changing anything else... and it works ! But my manual tells me that :
'the High Performance File System (HPFS) permits having many parts in a name 
if each part is separated by a period.' and 'Generally, long file names support
255 characters per name part; the HPFS names support 254.' [from IBM 
Operating System Extended Edition Version 1.2 User's Guide Volume 1: Base
Operating System]

	My question is : WHY ? Why can't I access a file that is fully 
supported by the file system ?

	Paul.

 Paul Rolland, engineer [I hope :)] in July 91,
 Specialist of assembly on PC [Not too bad in fact :)],
 Trying to progress on Unix administration
 					   Email : rol@grasp1.univ-lyon1.fr 
Technical Details
Message-ID: <1991Apr16.183355.15480@grasp1.univ-lyon1.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!ox.com!math.fu-berlin.de!grasp1!rol

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!ox.com!math.fu-berlin.de!grasp1!rol
From: rol@grasp1.univ-lyon1.fr (Paul Rolland)
Newsgroups: comp.os.os2.programmer
Subject: HPFS and IBM C/2, part two
Keywords: HPFS, IBM C/2, DosOpen, File names
Message-ID: <1991Apr16.183355.15480@grasp1.univ-lyon1.fr>
Date: 16 Apr 91 18:33:55 GMT
Organization: INSA Departement Informatique, Lyon, France
Lines: 25