wehr@fmsrl7.UUCP (Bruce Wehr ) (04/10/91)
In article <1991Apr9.171701.15715@cs.utk.edu>, ba7@venus.ornl.gov (M. Lee Bailey III) writes: > > I run HPUX 7.0, and it DOES support long filenames. Yeah, I know - and I was going to take advantage of that. I was moving my HP-UX 7.0 environment to a larger disk. This machine occasionally is used as a BASIC workstation (wipe those smiles off your faces :-). It has BASIC 5.x sharing the hard disk. I decided to create a long file name file system on the new disk. HP-UX moved fine, but BASIC didn't seem to like it (a CAT listed the LIF header of the boot block as a LIF disk - it apparently didn't recognize it as HFS). When I re-created the file system as a short file name file system, things were OK. In both cases, they first 8K bytes of the two file systems were identical. This is just curiosity more than anything else - I thought BASIC determined an HFS disk from info in the boot block (the first 8K). There seems to be more to it than that, though. Anybody know what? And, I'm inviting RTFM flames - does it say in any BASIC documentation that long file name systems aren't supported? I must've missed that one. Thanks in advance. -- Bruce Wehr (wehr%dptc.decnet@srlvx0.srl.ford.com) (..!uunet!srlvx0.srl.ford.com!wehr%dptc.decnet) Ford Motor Company - Engineering Technology Services P.O. Box 2053, Room 1153, Dearborn, Michigan 48121-2053 (313)337-5304
sjo@hplvec.LVLD.HP.COM (Scott Onofrio) (04/11/91)
HEWLETT PACKARD SUPPORT: HP BASIC does not support an HFS system with long file names. What has been observed is expected behavior. Hope this helps, Scott Onofrio (sjo@hplvec.lvld.hp.com)
sjo@hplvec.LVLD.HP.COM (Scott Onofrio) (04/11/91)
Workstation that is...
steve-t@hpfcso.FC.HP.COM (Steve Taylor) (04/11/91)
In /comp.sys.hp/ wehr@fmsrl7.UUCP (Bruce Wehr ) / asks: | This machine occasionally is used as a BASIC workstation ... | It has BASIC 5.x sharing the hard disk. ... | I'm inviting RTFM flames - does it say in any BASIC documentation that | long file name systems aren't supported? I must've missed that one. Not in the edition of the 5.0/5.1 manuals which came out in 11/87 (that was before HP-UX had long file name support, I gather from another posting in this group). But see, for example, page c-1 of Chapter 2 of _Installing and Maintaining the BASIC 5.0/5.1 System_ as revised 5/88 where it says: "Do Not Use Long File Name HFS Discs" Regards, Steve taylor NOT A STATEMENT, OFFICIAL OR OTHERWISE, OF THE HEWLETT-PACKARD COMPANY.
tonl@hpuamsa.neth.hp.com (Ton 't Lam CRC) (04/11/91)
An enhancement request was submitted some years ago against your problem. The manual of BASIC 6.0 Page 2-44 warns not to use HFS disc with long file names with BASIC. Altering the directory contents can corrupt the disc. Regards, Ton 't Lam CRC-The Netherlands.
bayes@hplvec.LVLD.HP.COM (Scott Bayes) (04/27/91)
Belated response--it doesn't use the "boot blocks" (8K LIF directory at the front of the disk); rather, it uses the HFS "superblock" to determine file system type. A longfilename system has a different magic number hidden in its superblock than does a shortfilename system. BASIC/WS requires an AWFUL LOT of mods to support longfilenames. Scott Bayes