Re: Accidental deletion. Help please!



Vilmos Soti (vilmos@xxxxxxx) writes:
Lines re-broken for easier comment

et472@xxxxxxxxxxxxxxxxxxx (Michael Black) writes:

Vilmos Soti (vilmos@xxxxxxx) writes:
Unruh <unruh-spam@xxxxxxxxxxxxxx> writes:

Well, I would first make sure that the partition was
unmounted. Then I would mount it read only, and use
dd to make an exact copy of it to another partition,
and only work on that exact copy.

And why should he remount ro in order to dd?

Vilmos

To prevent anything being added to the partition while it's mounted?

And why anybody needs to *mount* the partition before dd-ing it?
Whether ro or rw? You don't dd the mountpoint. You dd the device.

Sorry. Since you did put in the "ro" I was focusing on that. Your
point is valid, and it's the mount that is the issue, not how
it's mounted.

Michael
.



Relevant Pages

  • Re: [opensuse] dvd and filenames
    ... "how to backup files with badly named files" ... mount it, test, umount. ... there is a refinement to this procedure: the image size could be adjusted to an exact multiple of the DVD physical sector size. ...
    (SuSE)
  • Re: Accidental deletion. Help please!
    ... and only work on that exact copy. ... To prevent anything being added to the partition while it's mounted? ... And why anybody needs to *mount* the partition before dd-ing it? ... to unmount then dd? ...
    (comp.os.linux.misc)
  • Re: Accidental deletion. Help please!
    ... and only work on that exact copy. ... To prevent anything being added to the partition while it's mounted? ... that it is *NOT* needed to mount ro the partition. ... to unmount then dd? ...
    (comp.os.linux.misc)
  • Re: Accidental deletion. Help please!
    ... facing a great loss if I can't recover the data. ... I would first make sure that the partition was unmounted. ... would mount it read only, and use dd to make an exact copy of it to another ... and only work on that exact copy. ...
    (comp.os.linux.misc)
  • Re: vfs.usermount seem to have no effect...
    ... What am I missing? ... :) Can you tell the exact point? ... the matching ownership for the device name in /dev. ... I now tried to mount to a directory that I own and it worked like a charm! ...
    (freebsd-stable)