Jump to content

Многотомный архив или как примонтировать iso-файл?


Recommended Posts

Столкнулся с тем, что надо слить с роутера скачанный с торрента iso-файл, размер файла велик: ~20Gb, причём на планшет или телефон. Но вот проблема, файл на телефон не копируется ввиду ограничений файловой системы. Решил запаковать файл в многотомный архив, но обнаружил, что rar2fs, tar, bzip2 не поддерживают многотомность, а mount не понимает опцию loop, Просто примонтировав iso-файл я бы содержимое пофайлово скачать смог. Может кто помочь?

Link to comment
Share on other sites

~ # dd bs=1M count=10 if=/dev/zero of=/opt/loop.img
10+0 records in
10+0 records out
~ # opkg install e2fsprogs
Installing e2fsprogs (1.43.1-2) to root...
Downloading http://entware-3x.zyxmon.org/binaries/mipsel/e2fsprogs_1.43.1-2_mipsel-3x.ipk.
Installing libext2fs (1.43.1-2) to root...
Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libext2fs_1.43.1-2_mipsel-3x.ipk.
Configuring libext2fs.
Configuring e2fsprogs.
~ # mkfs.ext2 /opt/loop.img
mke2fs 1.43.1 (08-Jun-2016)
Creating filesystem with 10240 1k blocks and 2560 inodes
Filesystem UUID: a9f3dc50-64c4-4d6c-91f9-4c4e803bc05f
Superblock backups stored on blocks:
        8193

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

~ # mkdir /opt/mntloop
~ # mount -o loop -t ext2 /opt/loop.img /opt/mntloop
~ # mount
rootfs on / type rootfs (rw)
.....
/dev/loop0 on /opt/mntloop type ext2 (rw,relatime)

Как видим loop поддерживается. А вот для поддержки iso и сборки модуля isofs - требуйте отстоя пива и долива пены здесь

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...