From owner-pups@minnie.cs.adfa.edu.au Sun Feb 21 05:15:31 1999
Received: (from major@localhost)
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id FAA00187
	for pups-liszt; Sun, 21 Feb 1999 05:12:40 +1100 (EST)
Received: from biene.agri.ch (biene.agri.ch [212.28.128.41])
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) with ESMTP id FAA00177
	for <pups@minnie.cs.adfa.edu.au>; Sun, 21 Feb 1999 05:12:29 +1100 (EST)
X-Internal-ID: 36B8327D0006D08D
Received: from g4klx.agri.ch (212.28.159.64) by biene.agri.ch (NPlex 2.0.119) for pups@minnie.cs.adfa.edu.au; Sat, 20 Feb 1999 19:12:22 +0100
Received: from localhost (g4klx@localhost)
	by g4klx.agri.ch (8.8.8/8.8.8) with ESMTP id TAA01446
	for <pups@minnie.cs.adfa.edu.au>; Sat, 20 Feb 1999 19:10:46 +0100
X-Authentication-Warning: g4klx.agri.ch: g4klx owned process doing -bs
Date: Sat, 20 Feb 1999 19:10:45 +0100 (CET)
From: Jonathan Naylor <g4klx@pop.agri.ch>
X-Sender: g4klx@g4klx.agri.ch
Reply-To: g4klx@g4klx.demon.co.uk
To: pups@minnie.cs.adfa.edu.au
Subject: V7 filesystem work
Message-ID: <Pine.LNX.4.05.9902201906360.1385-100000@g4klx.agri.ch>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-pups@minnie.cs.adfa.edu.au
Precedence: bulk

Hello All

A couple of weeks ago I hacked the program v7 from the bostic_tools to
work under all sorts of different Unix versions. It worked great and
allowed me to snoop around the V7 file system images from native Linux.
Anyone who wants a copy can send me an e-mail.

Anyway I had a few hours spare today, and decided to try adding the V7
filesystem to the Linux kernel. Results so far are encouraging:


g4klx:/usr/src/linux# ls -l /mnt
total 333
drwxrwxrwx   7 root     root          224 Sep 22  1988 .
drwxr-xr-x  19 root     root         1024 Feb 14 11:55 ..
drwxrwxr-x   2 3        3            2512 Sep 22  1988 bin
-rwxr-xr-x   1 3        3            8986 Jun  8  1979 boot
drwxrwxr-x   2 3        3             160 Sep 22  1988 dev
drwxrwxr-x   2 3        3             336 Sep 22  1988 etc
-rwxr-xr-x   1 daemon   daemon      53302 Jun  8  1979 hphtunix
-rwxr-xr-x   1 daemon   daemon      52850 Jun  8  1979 hptmunix
drwxrwxr-x   2 3        3             192 Sep 22  1988 lib
drwxrwxr-x   2 root     lp             96 Sep 22  1988 mdec
-rwxr-xr-x   1 root     daemon      50990 Jun  8  1979 rkunix
-rwxr-xr-x   1 root     daemon      51982 Jun  8  1979 rl2unix
-rwxr-xr-x   1 daemon   daemon      51790 Jun  8  1979 rphtunix
-rwxr-xr-x   1 daemon   daemon      51274 Jun  8  1979 rptmunix
g4klx:/usr/src/linux# df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1            3031184 1920771   953665     67%   /
/dev/loop0              1919    1877       42     98%   /mnt
g4klx:/usr/src/linux#


I am using the loop block device to allow me to mount a file as a block
device, this saves me having to add a new partition to my disc. There
should be no reason why it won't work with a true disc partition. The V7
filesystem under Linux is read/write.

Anyone interested ?

Jonathan



