X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Martin Str|mberg Subject: Re: LFN on pure DOS Newsgroups: comp.os.msdos.djgpp References: <20020425010620 DOT GA17090 AT taniwha DOT org> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1019895346.635577@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 27 Apr 2002 08:15:46 GMT Lines: 21 NNTP-Posting-Date: 27 Apr 2002 08:15:46 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1019895346 news.luth.se 284 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Bill Currie wrote: : there's http://taniwha.org/lfn.zip : I think you'll also need http://taniwha.org/djasm.zip to build it (I extended : djasm and I'm not sure which parts have been merged). I'm pretty sure I had it : reading /and/ writing, though I'm not sure about its fat32 support (reading is : ok, but I never got to test the writing). A few things to watch out for: the : short name is a (probably `poor') 48 bit crc of the long name; it's case : sensitive; the short name is inaccessable if there is a long name; the short : name is always uppercase; (most importantly) it MIGHT EAT YOUR DATA :) Bad news: it seems to be totally broken used in conjuction with DJGPP programs. I booted a floppy with MSDOZE and ran LFN.EXE. "ls -altr" reports some ENOENTs and only show three files of many (~25). Good news: it almost compiles with CVS version of djasm. You only have to change two lines in lfn_file.inc, "shrdd" -> "dshr". Right, MartinS