ish-app / ish

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

Mounting an external directory #2143

Open mjgs opened 1 year ago

mjgs commented 1 year ago

I’m trying to view a directory from “On my iPod” in the running ish instance.

I tried adding a filesystem in the settings (filesystems > import) but though I can browse the filesystem, none of the directories are selectable.

Is viewing an external directory in ish possible?

freebrowser1 commented 1 year ago

It used to be (see https://github.com/ish-app/ish/wiki/Mounting-other-file-providers), but now mount -t ios <folder> issues mount: can't find . in /etc/fstab instead of opening a file picker.

PanHandle commented 9 months ago

If you make a mount using the file picker, you can get the path it uses for the mount using just mount afterward, that can then be used to mount the folder with: mount -t real /long/path/name /mnt/path

This vary and I've had to replace instances of \040 in the real-path with an escaped space (\) before, this is the best current option I know of to mount without the file picker

suckerSlayer commented 6 months ago

If you make a mount using the file picker, you can get the path it uses for the mount using just mount afterward, that can then be used to mount the folder with: mount -t real /long/path/name /mnt/path

This vary and I've had to replace instances of \040 in the real-path with an escaped space (\) before, this is the best current option I know of to mount without the file picker

@PanHandle it's good. However I found it has a higher chance that quit unexpectedly than '-t ios'(after leave iSH background for sometime, then open it found it restart)