Open GoogleCodeExporter opened 8 years ago
Poorcase supports both read-only and read-write in version 1.1; using the -o
option similar to the mount command.
For read-write, simply use -o rw (the default is read-only, to keep a forensic
image sound)
Here's an example:
# poorcase.pl --name disk_img -o rw /path/to/files/*
Original comment by richard.harman
on 10 Jul 2010 at 2:49
I know about the -rw option. And if the objective is to retain a forensic
image, but you still want the FS to be read write (e.g. you want to boot a VM),
then you need a copy on write layer so that any changes can be discarded.
Original comment by rogan.da...@gmail.com
on 10 Jul 2010 at 4:37
Here is my attempt at solving it.
Original comment by rogan.da...@gmail.com
on 10 Jul 2010 at 10:25
Attachments:
Oh! I misread your issue, I thought you only wanted read-write support, not
copy-on-write support.
You implemented what I did at home, but I ran into a brick wall: how do you
"detect" that an image is mounted read-only via device mapper (the underlying
stitched together device) and a child device that is a copy-on-write snapshot
device?
I also couldn't come up with an elegant way to automatically delete the
temporary copy-on-write snapshot file once the device is "destroyed" via
--destroy.
To be honest, I simply write a short shell script that made it possible for me
to turn *any* block device (device mapper or standard /dev/sda or /dev/hda)
into a device mapper snapshot backed copy-on-write device. I was about to
commit that to the SVN repo when I noticed your comment on the issue.
Original comment by richard.harman
on 29 Jul 2010 at 2:09
Original issue reported on code.google.com by
rogan.da...@gmail.com
on 24 May 2010 at 2:54