Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File Looper v1.0.0 - Mount iso images on Tru64

59 views
Skip to first unread message

Tru Hobbyist

unread,
Jun 11, 2021, 3:59:14 PM6/11/21
to
Hi all,

I just finished my first software product for Tru64 versions V5.1B-[3456] called File Looper.

File Looper allows to loop mount files like iso images on Tru64 and mount them using the cdfs filesystem type (currently the only filesystem type supported). Just choose an iso image file, attach it to a block device special file (created by File Looper) and mount it as you would mount a CD:

bash-4.3# fl -v
File looper version 1.0.0 on OSF/1
bash-4.3#
bash-4.3# fl -h
File looper syntax:

$ fl -a <dev> <file>
Attach file to device.

$ fl -d <dev>
Detach file from device.

$ fl -l
List attached files.

$ fl -h
Print help.

$ fl -v
Print version.

For more info type man fl
bash-4.3#

bash-4.3# ls -l debian-10.8.0-mips-netinst.iso
-rwxr-xr-x 1 root system 294803456 Mar 30 12:37 debian-10.8.0-mips-netinst.iso
bash-4.3#

Attach iso file to a device:

bash-4.3# fl -a /dev/loop/debianiso ./debian-10.8.0-mips-netinst.iso
bash-4.3#

Mount device:

bash-4.3# mount -t cdfs /dev/loop/debianiso /mnt/CDROM
bash-4.3#

Use mounted filesystem (access, read, copy):

bash-4.3# ls -l /mnt/CDROM
total 98
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 .disk
-r--r--r-- 1 root system 8158 Feb 6 14:40 README.html
-r--r--r-- 1 root system 291 Mar 4 2017 README.mirrors.html
-r--r--r-- 1 root system 86 Mar 4 2017 README.mirrors.txt
-r--r--r-- 1 root system 4816 Feb 6 14:40 README.txt
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 css
lr-xr-xr-x 1 root system 1 Feb 6 14:40 debian -> .
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 dists
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 doc
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 firmware
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 install
-r--r--r-- 1 root system 69760 Feb 6 14:40 md5sum.txt
dr-xr-xr-x 1 root system 4096 Feb 6 14:40 pics
dr-xr-xr-x 1 root system 2048 Feb 6 14:40 pool
bash-4.3#

Unmount when done:

bash-4.3# umount /mnt/CDROM
bash-4.3#

List loop attachments:

bash-4.3# fl -l
/dev/loop/debianiso: /usr/users/root/debian-10.8.0-mips-netinst.iso (294803456 bytes)
bash-4.3#

Detach file from device:

bash-4.3# fl -d /dev/loop/debianiso
bash-4.3#

Verify:

bash-4.3# fl -l
INFO: No loops attached
bash-4.3#

And that's all!

Hopefully it may help sysadmins and enthusiasts alike by bringing useful functionality to these systems.

If you want to acquire a copy, contact me at truhobbyist at gmail dot com and I will happily guide you through the setup process.

Kind regards,
Tru

Garrett Meiers

unread,
Jul 9, 2021, 3:55:57 PM7/9/21
to
Very nice! Haven't run any Tru64 in awhile.. But this looks really handy.
0 new messages