pkgsrc-Users archive

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

Re: diskscrub



On Sun, Jun 12, 2016 at 06:50:29PM +0100, Patrick Welche wrote:
> Since sys/dkio.h 1.21 we'll end up running the FreeBSD code in what
> I intended to be the NetBSD case, so I propose to move the
> DIOCGDISKINFO case before the DIOCGMEDIASIZE case in order to prefer
> it.
> 
> (Just noticed because:
> 
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  b:   4194304   6293504       swap                     # (Cyl.   6243*-  10404*)
> 
> scrub: scrubbing /dev/wd0b 160000000000 bytes (~149GB)
> 
> which is a little on the large side...)

Jumping the gun - the FreeBSD vs NetBSD test might need fixing, but /dev/wd0b
was never going to work...

P


Home | Main Index | Thread Index | Old Index