[Prev][Next][Index][Thread]

Re: LIP General issues



On Fri, 29 Nov 1996, Amos Shapira wrote:

> |If the victim has a virgin disk of equal size, it is even possible to
> |
> |	`dd if=/dev/hda of=/dev/hdb bs=18k`
> |
> |and sit back and enjoy the ride.
> 
> A few points about that:
> 
> 1. If you read a mounted partition, then things might change on the
>  filesystem while you do that (block re-allocated and free'd, times
>  updated etc...), ending with inconsistant destination filesystem.
>  You could run 'fsck' after that, but why get yourself into this in
>  the first place?

then remount it read-only :-)

> 3. Last thing - when accessing disks this way (sequencial) on real unix,
>  I prefer to bypass the entire kernel caching and use the raw devices,
>  but as I looked at it right now, I couldn't find raw IDE devices on
>  my 2.0.10 machine, do they exist?

ha? /dev/hda and /dev/hdb are not raw enough?!


   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   SITE Web Presence ("webspace for rent") http://www.site.co.il
   Beeper 91826 at 058-212121                FAX (972)2-643-0471
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il


Follow-Ups: References: