• File Looper v1.0.0

    From Tru Hobbyist@21:1/5 to All on Fri Jun 11 12:55:20 2021
    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. You choose an iso image file, attach it to a block device special file (created by File Looper) and can 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)