I have an easy way to automate the mounting of an encrypted savefile in fatdog64-710 using filemnt from slacko64-6.9.6.1 which has in the second line of the script the choice of "losetup" which you are using. I attach it (remove the fake .gz and move it in /usr/sbin)). Using my example:rasul wrote:thanks for the tip and the file, it saved me a lot of effort, wish I could write a script to automate it ...watchdog wrote:I can do it manually using a losetup-old from an old testing version of xenialpup64 which I attach. Delete the fake gz and move losetup-old in /sbin. Then in console:rasul wrote: Only some minor issues ... Seemingly FatDog is a bit different from the other puppies ... for example it seems not to contain the application that mount an encrypted puppy save file (extension 2fs) when double-clicking on the save file ... How can I fix it? which application should I add to fatdog? any binary already available?
and watch a free loop device. Say it can be /dev/loop2. Then in console for a lightencrypted savefile (I have used in the test a lightencrypted slackosave from slacko 5.7):Code: Select all
losetup -a
For an heavy encrypted savefile you can use in the example:Code: Select all
# losetup-old -E 1 /dev/loop2 /mnt/sda1/slacko57/slackosave_cryptx-s57-bk.2fs Password: #mkdir /mnt/dir # mount /dev/loop2 /mnt/dir # ls /mnt/dir bin dev etc initrd lib lost+found mnt opt root sbin sys usr var # umount /mnt/dir # losetup-old -d /dev/loop2
Code: Select all
losetup-old -e aes /dev/loop2 slackosave_save_crypta-s57-bk.2fs
Code: Select all
filemnt.slacko6961 /mnt/sda1/slacko57/slackosave_cryptx-s57-bk.2fs