File mounter issues
From hacktolive.org
List of File mounter issues:
Issues
- This file seems to have been mounted, but it is empty.
- If an archive-based file contains many files, the mounting operation might take some time. Solution: maybe add a zenity waiting screen for files bigger than 20 MB?
- Files without extension sometimes do can't be mounted. Solution 1: do not remove extensions or use "fake extensions". Solution 2: use the "file" program to identify the filetype so that you can add the correct extension.
- Corrupted or malicious filesystem-based files (like ISO/ext2/ext3/ext4) MIGHT lock-up or freeze the system (unverified).
- there is "garbage" on the terminal if we try to mount a file that does not exist
Desired features
- Add a decent GUI that lists mounted files (zenity and checklists)
- Add support for .nrg files: sudo mount -o loop,offset=307200 /path/to/example.nrg /media/example
- test alchol 120% files
- use fuseiso because it has support for NRG and MDF files (warning: fuseiso mounts UDF files incorrectly, but without reporting errors. If we add fuseiso, we must use it has a last resort. Is it a good idea?)
- Maybe add support for dmg files? Solution: use dmg2img to convert image first, and then mount it. Ask user if he/she wants to perform the conversion.
- Increase number of loop devices
- Tell the user the mounted archive only contains hidden files - simply check: if "ls=0" AND ("ls -a" != "ls")