www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/25/17:00:08

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2834
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!info.ucla.edu!agate!islay.ssl.berkeley.edu!korpela
From: korpela AT islay DOT ssl DOT berkeley DOT edu (Eric J. Korpela)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Long filenames?
Date: 25 Oct 1995 17:40:15 GMT
Organization: Cal Berkeley-- Space Sciences Lab
Lines: 29
References: <DH09MG DOT 2sy AT jade DOT mv DOT net>
Nntp-Posting-Host: islay.ssl.berkeley.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

In article <DH09MG DOT 2sy AT jade DOT mv DOT net>,
Alexander V. Lukyanov <lav AT video DOT yars DOT free DOT net> wrote:
>> > What about OS/2 (HPFS) long file names?  Can a DOS program get at those?


>
>Is there HPFS (or any other fs better than FAT) drivers and utilities
>(format, defrag etc) for DOS, which enable use of the filesystems?

There are several utilities at ftp://hobbes.nmsu.edu/dos/ that allow
access to HPFS partitions.  They don't allow creation and formatting
though.  You need OS/2 for that.  Be aware that most of them are read
only.  There is at least one read/write driver.  Many come with
caching in the driver and work under windows. (hpfsa02b.zip)  Most
of the drivers just either truncate long file names or make the files
with long names inaccesible.

Defragging is rarely required under HPFS.  If it is, the general way is 
to write a script that copies each file on the drive to a dummy file,
erases the original then copies the dummy file back to it's original name.
It's kind of pointless, though because files only get fragmented if the
drive is very close to full, and this method won't work on a nearly full drive.

Eric 
-- 
Eric Korpela                        |  An object at rest can never be
korpela AT ssl DOT berkeley DOT edu            |  stopped.
<a href="http://www.cs.indiana.edu/finger/mofo.ssl.berkeley.edu/korpela/w">
Click here for more info.</a>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019