-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 On Fri, 31 Oct 2008 14:16:38 +0100 Ivan Voras <[EMAIL PROTECTED]> wrote: > Jeremy Chadwick wrote: > > On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: > > >> What would be the fastest way to do that sector by sector copy? > >> I'm using dd right now, > >> > >> dd if=/dev/ad0 of=/dev/da0 bs=10000000 > > > On the flip side, your blocksize (bs) there is quite high for no > > good reason. I'd pick something more like bs=64k or bs=128k. The > > default (512) is too small for what you want, but 10MBytes is silly. > > Not only that, but "10000000" isn't even correct - it needs to be a > multiple of sector size. Generally, using suffixes will do the right > thing: > > dd if=/dev/ad0 of=/dev/da0 bs=1m
Would there be anything wrong in cat /dev/ad0 > /dev/da0 ? - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iJwEAQEDAAYFAkkOQCsACgkQ/MM/0rYIoZjjHQQAhXi6gu5JhJjzZmE97buiZ15u Q6AT+qvAja6cALfGAGVrzJEzljfcbe3PnBdOnn1CTYbS62EHaVWLnvOKRGrpvzFE q/WxQ9qCRfcsSx3o6eKxfTM6d4b92ZP+d1iPotmzutQl8TbxlJxNTP9i2b6cDw6a au6zdoApH5A6UxyaJA8= =oFoQ -----END PGP SIGNATURE----- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"