V7 filesystem work

Jonathan Naylor g4klx at pop.agri.ch
Sun Feb 21 04:10:45 AEST 1999


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





More information about the TUHS mailing list