Is there a way to mount rw a changes file?

Post your comments, questions, bug reports or suggest new features for alphaOS
pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Is there a way to mount rw a changes file?

Postby pentajazz » 06 May 2016, 21:44

Is there a way to mount RW a changes file (a copy not the running one)? As a rescue editing, etc.

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: Is there a way to mount rw a changes file?

Postby pentajazz » 07 May 2016, 11:52

It is a raw disk image file (not a squashfs etc) so..

find out the file system type, create a mount point directory
The command looks like:

mount -t ext4 -o loop /mnt/live/memory/data/linux/alphaos1/changes.fs4-v2 /mnt/live/memory/filesave1

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Is there a way to mount rw a changes file?

Postby Scooby » 08 May 2016, 14:30

Okay but you don't add it to AUFS union?

You manually put files in it?

pentajazz
Advanced
Posts: 48
Joined: 27 Apr 2014, 23:09

Re: Is there a way to mount rw a changes file?

Postby pentajazz » 09 May 2016, 01:40

Only the running one belongs to the union. As a copy it is just a raw file. Yes you can edit it as a normal drive as long as it is mounted as a loop device. Then replace the original from a no savefile session or from an other os and boot with it.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 14 guests

cron