Page 1 of 1
mloop a save.dat file
Posted: 17 May 2014, 17:44
by Ed_P
An observation:
mloop will not mount a save.dat file if the changes=EXIT: cheatcode is used. Even if the file is not the one specified with the cheatcode and has a different name.
A feature or a shortcoming?
Re: mloop a save.dat file
Posted: 17 May 2014, 22:37
by brokenman
Interesting. mloop was written some time ago and probably needs updating but I don't think this is a coding problem. I would need to boot using this cheatcode to verify but i don't see why it would care about mounting a save.dat that isn't in use (or one that IS in use for that matter which may be a shortcoming).
It simply issues this command:
Code: Select all
mount -t auto -o loop /path/to/save.dat /mnt/loop
Re: mloop a save.dat file
Posted: 18 May 2014, 04:23
by Ed_P
Run as root.
Code: Select all
mloop /mnt/sda5/porteus/changes/porteussave-b4.dat
using /dev/loop15
Please wait while i gather some info ....
mount: wrong fs type, bad option, bad superblock on /dev/loop15,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#################################
Your data file has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
In Always Fresh mode it runs fine.
Re: mloop a save.dat file
Posted: 18 May 2014, 08:52
by fanthom
you wont be able to mount save.dat if it was previously mounted by initrd (and this is the case for 'changes=EXIT:' cheat)
this is partially explained here:
http://forum.porteus.org/viewtopic.php? ... 125#p16093