NetBSD-Bugs archive

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

Re: port-amd64/51216: Can't create wedges on a large (3TB) disk, gpt is ok but dkctl gives an error message



The following reply was made to PR port-amd64/51216; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tech-kern%netbsd.org@localhost
Subject: Re: port-amd64/51216: Can't create wedges on a large (3TB) disk, gpt is ok but dkctl gives an error message
Date: Mon, 06 Jun 2016 17:39:11 +0700

     Date:        Mon,  6 Jun 2016 09:55:00 +0000 (UTC)
     From:        "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
     Message-ID:  <20160606095500.F2DD47AAB9%mollari.NetBSD.org@localhost>
 
   | From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
   | Subject: Re: port-amd64/51216: Can't create wedges on a large (3TB) disk,
   |              gpt is ok but dkctl gives an error message
 
   |  > This is how I get there:
   |  > # dd if=/dev/zero of=/dev/wd1 bs=1m count=10
   |  
   |  You meant /dev/rwd1d, which is a raw device.
 
 [for the purpose, whether the raw or block device was used wouldn't really
 make much difference I suspect, it is the 'd' on the end which matters.]
 
 I wonder if now that wedges are becoming used more, and wdNx (and sdNx)
 thus used less, if perhaps we should start creating /dev/[sw]dN and
 /dev/r[sw]dN as aliases of (or links to) /dev/[r][sw]dN[cd] (as appropriate)
 (ie /dev/wd1 is a link to /dev/wd1d on i386 (etc) or /dev/wd1c (on sparc etc))
  
 ?
 
 And of course for all the other disk, and disk like devices (raid, cgd, ...)
 
 This would also mean less issues with having to try to explain to people
 that they need to figure out which partition (c or d) is RAWPART and use
 the right one - MAKEDEV would need to know, but just about everything else
 could get itself out of the discover RAWPART dance, and just use the device
 name.
 
 kre
 


Home | Main Index | Thread Index | Old Index