Date: Sun, 3 Oct 2010 11:09:53 +0200 From: Polytropon <freebsd@edvax.de> To: Brandon Gooch <jamesbrandongooch@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, Robert <traveling08@cox.net> Subject: Re: OT: fdisk Message-ID: <20101003110953.46fb7f2e.freebsd@edvax.de> In-Reply-To: <AANLkTi=7rTJ%2BjYGSJS_P4s9pUi1yV558M-hwfSKREd1y@mail.gmail.com> References: <20101002113640.2ab36871@asus64> <alpine.BSF.2.00.1010021658060.83540@wonkity.com> <20101002165150.01e0cac0@asus64> <alpine.BSF.2.00.1010021857440.83826@wonkity.com> <20101002194502.24e0f9da@asus64> <AANLkTi=7rTJ%2BjYGSJS_P4s9pUi1yV558M-hwfSKREd1y@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Oct 2010 01:15:06 -0500, Brandon Gooch <jamesbrandongooch@gmail.com> wrote: > I believe that the above 'if' operand to dd should instead be /dev/da1 > (without the 's1' slice). Also, the operand 'of' will need to point to > a device, such as /dev/ad12, or a file on a mounted file system, such > as /mnt/my_disk_image.img A good advice. Also: You should, when in doubt, never, NEVER operate on the disk you want to restore data from. Dump the whole disk into a file and operate on THAT file. Use mdconfig to make it a block device if needed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101003110953.46fb7f2e.freebsd>