Simple disk check and root directory list utility for legacy Unix V5 and V6 disk images as originally installed on RK05 media.
Only two "C" source files required, should compile and build on most systems. Command-line usage only.
Intended to provide a preview of disk contents before attempting to boot on emulators such as SIM-H etc.
example output :-
RK05 Disk Image u6.dsk, Total/Free Blocks=4000/74, Inode Blocks=85, Free Inodes=97
Superblock Modified Flag=N, Read Only=N, Locks: Free Block List=N, Inode List=N
Inode number 000, links=010, type=d, perms=drwxrwxr-x, uid=003, gid=003, size=256
Inode number 000, Block Addresses=0057, 0000, 0000, 0000, 0000, 0000, 0000, 0000
File Read Directory, disk block number=0057 (87), inode links=10
entry block index inode permissions links uid gid file size file name modified time utc
----- ----- ----- ----- ----------- ----- --- --- --------- --------- ------------------
001 00002 0000 0001 drwxrwxr-x 10 3 3 00000256 .. 1975-10-10 17:39
002 00002 0000 0001 drwxrwxr-x 10 3 3 00000256 . 1975-10-10 17:39
003 00008 0004 0101 drwxrwxr-x 02 3 3 00001104 bin 1975-05-14 00:47
004 00008 0003 0100 drwxrwxr-x 02 3 3 00001824 dev 1975-10-10 17:00
005 00008 0002 0099 drwxrwxr-x 02 3 3 00000496 etc 1975-10-10 17:26
006 00008 0001 0098 drwxrwxr-x 02 3 3 00000464 lib 1975-05-13 23:35
007 00008 0000 0097 drwxrwxr-x 02 3 3 00000032 mnt 1975-05-13 20:01
008 00007 0015 0096 drwxrwxrwx 02 3 3 00000272 tmp 1975-10-10 17:39
009 00007 0014 0095 drwxrwxr-x 15 3 3 00000240 usr 1975-10-10 12:40
010 00022 0008 0329 -rwxrwxrwx 01 0 3 00029538 unix 1975-10-10 17:24
011 00014 0005 0198 -rwxrwxrwx 01 0 3 00028836 rkunix 1975-10-10 12:22
012 00029 0002 0435 drwxrwxrwx 02 0 0 00000096 user 1975-10-10 17:39
013 00026 0011 0396 -rwxrwxrwx 01 0 3 00029020 rpunix 1975-10-10 12:25
014 00026 0012 0397 -rwxrwxrwx 01 0 3 00029074 hpunix 1975-10-10 12:28