Unix 5th and 6th Edition Filesystems for Linux
Stuart Norris
norris at euler.mech.eng.usyd.edu.au
Mon Aug 30 12:20:22 AEST 1999
I mentioned this to Warren a few months back, but I don't think I
sent it out to the mailing list, so excuse me if I am repeating myself.
Anyhow, I have hacked together a version of a Unix 5th (and 6th)
Edition filesystem for Linux. It is read only, and was written for
Linux 2.0 on an x86 and so will require a little work to install on
other systems and newer kernels, but it is fun to be able to mount
old disk images. Now only if I had the time to get it read-write ...
[root at ebb disks]# ls -l
total 2447
-rw------- 1 norris users 2494464 Feb 16 1999 ted_v6root
[root at ebb disks]# mount -t u5e -o loop ted_v6root /mnt/u5e
[root at ebb disks]# cd /mnt/u5e
[root at ebb u5e]# ls -l
total 102
drwxrwxr-x 2 adm sys 1104 May 14 1975 bin
drwxrwxr-x 2 adm sys 1824 Aug 15 1975 dev
drwxrwxr-x 2 adm sys 496 Aug 15 1975 etc
-rwxr-xr-x 1 root sys 29932 Aug 15 1975 hpunix
drwxrwxr-x 2 adm sys 464 May 14 1975 lib
drwxrwxr-x 2 adm sys 32 May 14 1975 mnt
-rwxr-xr-x 1 root sys 29932 Aug 15 1975 rkunix
drwxrwxrwt 2 adm sys 272 Aug 15 1975 tmp
drwxrwxr-x 15 adm sys 240 Aug 15 1975 u
-rwxr-xr-x 1 root sys 28684 Aug 15 1975 unix
drwxrwxr-x 15 adm sys 240 Aug 15 1975 usr
The source is sitting at
http://www.maths.unsw.EDU.AU/~norris/software.html#u5e
Untar the file into /usr/src/linux-2.0.XX/fs/u5e-0.2, make it, and stick
the module into /lib/modules/2.0.XX/fs. Then mount your disk image with
mount -t u5e -o loop <image> <mount point>
Cheers,
P.S. It is interesting to see that the GNU magic file is so up to date;
[root at ebb disks]# cd /mnt/u5e/lib
[root at ebb u5e]# ls -la
total 228
drwxrwxr-x 2 adm sys 464 May 14 1975 .
drwxrwxr-x 10 adm sys 256 Aug 15 1975 ..
-rwxrwxr-x 1 adm sys 5064 Jul 18 1975 as2
-rwxrwxr-x 1 adm sys 15352 Jul 18 1975 c0
-rwxrwxr-x 1 adm sys 21814 Jul 18 1975 c1
-rwxrwxr-x 1 adm sys 8188 Jul 18 1975 c2
-rw-rw-r-- 1 adm sys 112 Jul 19 1975 crt0.o
-rwxrwxr-x 1 adm sys 17424 Jul 18 1975 fc0
-rwxrwxr-x 1 adm sys 23822 Jul 18 1975 fc1
-rw-rw-r-- 1 adm sys 136 Jul 19 1975 fcrt0.o
-rw-rw-r-- 1 adm sys 13810 Jul 18 1975 filib.a
-rw-rw-r-- 1 adm sys 340 Jul 18 1975 fr0.o
-rw-rw-r-- 1 adm sys 14118 Jul 18 1975 liba.a
-rw-rw-r-- 1 adm sys 22042 Jul 19 1975 libc.a
-rw-rw-r-- 1 adm sys 13958 Jul 18 1975 libf.a
-rw-rw-r-- 1 adm sys 27622 Jul 18 1975 libp.a
-rw-rw-r-- 1 adm sys 9982 Jul 19 1975 libs.a
-rw-rw-r-- 1 adm sys 3530 Jul 19 1975 liby.a
-rwxrwxr-x 1 adm sys 3144 Jul 18 1975 lpr
-rw-rw-r-- 1 adm sys 436 Jul 19 1975 mcrt0.o
-rw-rw-rw- 1 root bin 8794 Jul 19 1975 tmgb
[root at ebb u5e]# file *
as2: PDP-11 pure executable
c0: PDP-11 pure executable
c1: PDP-11 pure executable
c2: PDP-11 pure executable
crt0.o: PDP-11 executable not stripped
fc0: PDP-11 pure executable
fc1: PDP-11 pure executable
fcrt0.o: PDP-11 executable not stripped
filib.a: very old PDP-11 archive
fr0.o: PDP-11 executable not stripped
liba.a: very old PDP-11 archive
libc.a: very old PDP-11 archive
libf.a: very old PDP-11 archive
libp.a: very old PDP-11 archive
libs.a: very old PDP-11 archive
liby.a: very old PDP-11 archive
lpr: PDP-11 executable
mcrt0.o: PDP-11 executable not stripped
tmgb: very old PDP-11 archive
--
Stuart Norris norris at mech.eng.usyd.edu.au
Mechanical Engineering,University of Sydney,NSW 2006 wk:+(61 2) 9351-2272
http://www.maths.unsw.edu.au/~norris hm:+(61 2) 9326-5276
Received: (from major at localhost)
by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id VAA59473
for pups-liszt; Mon, 30 Aug 1999 21:16:57 +1000 (EST)
More information about the TUHS
mailing list