home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
hpfslin9.zip
/
hpfs
next >
Wrap
Text File
|
1993-10-23
|
3KB
|
75 lines
Article 1979 of comp.os.linux.development:
Newsgroups: comp.os.linux.development
Path: samba.oit.unc.edu!concert!news-feed-2.peachnet.edu!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!convex!convex!csmith
From: csmith@convex.com (Chris Smith)
Subject: HPFS for Linux version 0.1 *alpha*
Sender: usenet@news.eng.convex.com (news access account)
Message-ID: <1993Oct19.020856.26624@news.eng.convex.com>
Date: Tue, 19 Oct 1993 02:08:56 GMT
Nntp-Posting-Host: magnum.convex.com
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
Corp. The opinions expressed are those of the user and
not necessarily those of CONVEX.
Lines: 642
This is a very basic filesystem to mount OS/2 HPFS partitions read only.
THANKS to the valiant alpha testers who tried the first version.
It works on a variety of sytems, going back to at least OS/2 1.3
(thanks Dave).
It doesn't mount partitions if the size is not 0 mod 4. (An over-paranoid
check.) This one fixes that, and it is a little more informative if it
finds something that doesn't agree with its preconceptions.
This one comes with a sort of read-only fsck to go with the read-only
filesystem. It is called 'ck'. It will print a fragmentation report and
various other info. Its purpose is not to check the disk, but to check
for wrong guesses about the data structures, and unknown flags being set,
unused fields being used, and so on.
If it finds anything interesting, it writes a log file ck.log with
some sector dumps. If it does that, please mail it to me -- I especially
want to find a nonempty hotfix map before uploading anything for wider
use.
If version 0.0 works for you, this one will be about the same. No
faster or slower, no more or less capable. Here are the changes:
Don't fail if the partition size is not 0 mod 4. In this case
the super block gives the size to use.
For consistency checks where the error is more likely to be in
the check than in the filesystem, print a warning and proceed
instead of refusing to mount the partition.
Free space bit maps have pointers to them on the disk, they're
not in fixed places.
ctime and mtime were reversed.
Various fixes in hpfs.h irrelevant to the read-only filesystem.
Restrictions, same as before:
No writes, renames, deletes, chmods, etc.
No EA's
No mmap
Mount options, same as before:
ro read only. You get this whether you ask for it or not.
uid=nnn user id for all the files, like msdos_fs
gid=nnn group id for all the files, like msdos_fs
umask=nnn umask for all the files, like msdos_fs
case=lower file names are converted to lower case (default)
or case=asis file names are reported as is, in upper/lower case
conv=binary do not mess with the data (default)
or conv=text convert crlf to \n
or conv=auto heuristic, guess if the file is text
For installation instructions see INSTALL.