Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffs can't find superblock



On Tue, Feb 08, 2011 at 09:48:52PM +0100, mortee wrote:
> On 02/08/2011 21:40, Manuel Bouyer wrote:
> > On Tue, Feb 08, 2011 at 09:34:15PM +0100, mortee wrote:
> >> My questions: is there any difference data-wise between using the raw or
> >> block devices?
> > 
> > Yes. You'd better use the character device.
> 
> What's the difference?

block device goes through the buffer cache, which can make things
much slower

> 
> >> And also why is it failing with that message?
> > 
> > I guess sd0a is at the start of the parititon. You're trying to
> > overwrite the disklabel.
> > If you want to backup the whole disk, use dd if=/dev/rsd1d of=/dev/rsd0d
> 
> Ah, I see. Won't it screw the target disk up? They are not of the same
> size and geometry (the target is a bit bigger).

if there's no valuable data on the target disk, nothing wrong will happen

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index