ish-app / ish

Linux shell for iOS
https://ish.app
Other
17.12k stars 905 forks source link

missing iso9660 support #1120

Open asdfugil opened 3 years ago

asdfugil commented 3 years ago

there is no iso9660 support I can't mount .iso images.

gitdev-bash commented 3 years ago

For now you can just mount the iso file and then tar its contents and gzip the tar on a other computer or just copy the iso file to ish and then mount the iso on a loop device.

62f commented 3 years ago

Copy to /ish? What transcendental effect would that dir have? I did not get one added when I upgraded. OP claims there's absolutely NO 9660 support, but "all you have to do is mount..."? Evidently the iSH wiki needs a page with those precise commands, that first explains -ie-"Some .iso/.ISO/.iSO, etc. are UDF".

gitdev-bash commented 3 years ago

He probably means that you can't import them from the ISH settings/filesystem/import menu

asdfugil commented 3 years ago

He probably means that you can't import them from the ISH settings/filesystem/import menu

No I do not mean this. I just want to mount iso images

62f commented 3 years ago

I’m quite familiar with mounting iso images onto windows systems, but there was traditionally a problem with those PCs which were caused* to do that when they also needed to be connected to the internet. Updates of any kind except the most critical would invariably break the complex chain of foo magic required to ‘ghost mount’ optical media, so once being fitted with foo, those systems were made static and left unconnected to the internet. iSH being as dynamic as any beta would be, might slip in and out of such an ability, yet leaving a feature broken not the only possible concern. ISO-9660 and other standards afaik aren’t open source, and linking a closed-source spec with undocumented (iOS file system being the other) asymptotically increases the chance of neither working very well or even at all. Another hangup I perceive is that making this feature happen in the Linux domain would then have to be hardened against ill effects from versions of Alpine which have rolling updates, since they’re hardly ever classified such as Microsoft does: security, critical, important, etc.

gitdev-bash commented 3 years ago

Im working on it

gitdev-bash commented 3 years ago

Some reverse engineering later I found out that /lib/modules together with the module „loop“ do not exist, modprobe is completely useless. No wonder you can’t mount iso 9660 images

gitdev-bash commented 3 years ago

So this does not work: modprobe loop; LOOP=`losetup -f`; losetup $LOOP some/iso/location.iso ; mount -t iso9660 -o ro $LOOP mount/location
nor does this: mount /path/to/image.iso /media/iso -o loop

gitdev-bash commented 3 years ago

Similar to issue #239

tbodt commented 3 years ago

iSH is not Linux and can't use Linux's built-in support for ISO 9660. This will be solved by ish+linux, whenever that happens.

gitdev-bash commented 3 years ago

Like i said:

Similar to issue #239

62f commented 3 years ago

Tried modprobe loop; LOOP=`losetup -f`; losetup $LOOP some/iso/location ; mount -t iso9660 -o ro $LOOP mount/location; exit on AOK-fs v.40, locked up iSH on iPhone 6s iOS 14.3

gitdev-bash commented 3 years ago

interesting, that didn't hapen to me

62f commented 3 years ago

history revealed the prior command to have been sed, which causes my lockup-bug to be 100% reproducible.