FENRIS (nwfs) Source Code Available for nwfs-1.4.3

Jeff Merkey (jmerkey@timpanogas.com)
Tue, 29 Jun 1999 17:14:11 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_002F_01BEC252.CE1E9490
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Linux Folks,

We have posted a new release (nwfs-1.4.3). This releases fixed bugs in the
name mangling code, symbolic links, compile problems with Stock Linux, and
the salvageable file system. We will be posting a second release this week
after we have flushed out any remaining bugs in the hard link, symbolic
link, and device file code. The Unix namespace now stores Unix style
permissions and converts correctly between NetWare attributes. There was a
problem with the DOS name space getting trashed on 3.x volumes for certain
names because of the name mangling code (vrepair would run and fix the
names), this problem has been fixed.

We have also fixed the nasty compile problems on Stock Kernel 2.0.37. You
will note in the code that we have the conditional compiles in the 2.2 and
2.3 Linux. We are dovetailing these code changes in and they should be
available for testing and release early next week. We have done a first
pass 2.2 version, but not completely debugged. We will attempt to have one
up for 2.2 late this week or early next.

NWVOL will be releaesed this Friday for enumerating volumes. Please refer
to release notes for info on what has changed.

This code can be found via ftp at 207.109.151.240.

Jeff Merkey
CEO, TRG

------=_NextPart_000_002F_01BEC252.CE1E9490
Content-Type: application/octet-stream;
name="NOTES"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="NOTES"

RELEASE NOTES FOR NWFS-1.4.2.3

This release corrects build problems with the 2.0.37 Stock kernel
releases. We have corrected the include problems for this release
so it will build correctly under Linux 2.0.37 and no longer is
dependent on any particular vendor's Linux implementation.

To make this release, type:

make -f nwfs.mak clean
make -f nwfs.mak

See the Docs on our ftp site for instructions on mounting and loading
volumes.

Notes.

1. This release is no longer specifically dependent on Caldera's
OpenLinux 1.3, and will now compile under any of the Stock Kernel
builds up to 2.0.37. The problem was due to the inclusion of the
linux/modversions.h include file. The Caldera Open Linux 1.3 used
modversions for debugging purposes. (NOTE: This code also compiles
under Stock Linux 2.2.X, however, we have not dovetailed in all
the changed functions. Later this week work-to-do).

2. The name mangling bug for the DOS namespace has been fixed. We have
also expanded beyond the original implementation in the fat file system
because the fat implementation during mangling will collapse names into
a single file during file create operations. A good example are the
files trampoline.S and trampoline32.S. In the current fat file system
code, these names actually get collapsed into a single filename
(TRAMPOLI.S) during a cp -r copy operation from usr/src/linux to a
target fat file system, resulting in the first file's contents being
overwritten by the second. We are using a modified implementation that
computes a hash value on a file name, then concatentates this value
to the end of a file during create. This should provide the randomness
that will make the probability of mangled DOS names colliding lower
than the probability of getting eaten by a Great White Shark.

3. NWVOL, NWDISK, and NWFSCK have not been posted. NWVOL will be posted
under nwfsutils by the end of this week. We will post NWDISK and NWFSCK
later this month. Both of these programs require more testing to ensure
we are compatible with all versios of Netware. We have seen some issues
on Partitions created with NWDISK for NetWare 5 because Novell stamped
some special ID bits on these partitions. I also want to get all the
mirroring support into these utilties. At present, these utilities
allow you to create stripped and multi-segmented volumes but do not
allow you to create mirrored configurations. This may take more than
a week to get in, so it may be a couple of weeks until we put these
up.

4. You will note that GLOBALS.H now has switches for each version of
Linux you are building under. NwFs on Linux 2.2 and above is also now
included in this code base, however, you will note that not all of the
functions have been converted. We are plumbing in the new functions
that rely on dentries instead of text based names for the VFS. We
should have an early prototype later on in the week. What folks warned
us about in this area was in fact correct. The conversion between 2.0
and 2.2 VFS is CONSIDERABLE and requires a great deal of testing. For
our 2.2/2.3 VFS work, we are building against 2.2.11 for our development
and testing. According to Alan and Linus, 2.3 has only minor changes
over 2.2 for VFS work (Ingo's Page Cache stuff and 64bit enabling of the
VFS), so the 2.2 build should take us current with 2.3 with very minor
changes (less the testing effort).

5. The UNIX Namespace now stores unix permissions correctly, as well
as file modes, etc. We are still testing symbolic links and hard links,
so these areas in this release may still have some issues. We anticipate
that our testing of hard links, symbolic links, and device files will
be completed by tommorrow afternoon, at which time we will post another
release. Netware will report a fatal error if you attempt to remount
a volume that has assigned hard links or symbolic links values to any
namespace except the Unix namespace. We are continuing to test accross
all versionsof Netware 3.x, 4.x and 5.x.

6. The salvageable file system was completed this weekend, however, Linux
hurls big chunks when we turn it on. The reason for this is that Linux
seems to have a hard time with multiple names being the same identical
name within a given directory. In Netware, when you delete a file, it
is moved to a deleted file block in the directory file, so that all of the
deleted files actually show up within a single directory (DELETED.SAV).
This also means that each time a file is deleted and recreated, an
entry will appear (i.e. There could be hundreds of entries for
VOL$LOG.ERR is the volume was mounted and dismounted over the course
of a year). We had wanted to simply post the files to DELETED.SAV so
users could just browse the tree for deleted files without any special
utlities. We may do this, and mangle similar names, but NetWare has
an external utility that will read all instances of a deleted file.
We will turn somthing on tommorrow for our release that supports
hard links, symbolic links, and device files, however, you will
be using it at your own risk until we figure out something better
or provide an external utility to salvage files.

7. There were some instances of volume name corruption with the
previous name mangling code that would make volumes impossible to
mount until they had been vrepaired. These problems have been corrected
and we are not seeing any more problems. NwFs is now a fully functional
file system with few remaining issues for the core code. Mirroring
has been pushed out to next week to test.

Please let us know if there are additional bugs and report them to
jmerkey@timpanogas.com or linux-kernel@vger.rutgers.edu.

------=_NextPart_000_002F_01BEC252.CE1E9490--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/