NetBSD-Users archive

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

Re: Can find raw device but not mountable (Block) disk device



On Fri, Nov 18, 2011 at 06:45:48PM +0530, Mayuresh wrote:
> I have booted NetBSD 5.1 from an external USB HDD.
> 
> I can't find the /dev/sd* device corresponding to internal HDD of this
> machine.
> 
> However I can find a raw device corresponding to internal disk such as
> /dev/rwd0*
> 
> Why don't I find the block device that I can mount? Does this depend on
> the partition scheme of the device?
> 
> Following is the raw device disklabel information.
> 
> # disklabel /dev/rwd0
> # /dev/rwd0d:
> type: ESDI
> disk: ST9120823ASG    
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 232581
> total sectors: 234441648
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0 
> 
> 9 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  d: 234441648         0     unused      0     0        # (Cyl.      0 -
> 232580)
>  e:  70332507        63       NTFS                     # (Cyl.      0*-
> 69774*)
>  f:   1024000  70334464 Linux Ext2      0     0        # (Cyl.  69776*-
> 70792*)
>  g: 157696000  71358464 Linux Ext2      0     0        # (Cyl.  70792*-
> 227236*)
>  i:   4096000 229058560       swap                     # (Cyl. 227240*-
> 231304*)
> disklabel: boot block size 0
> disklabel: super block size 0

you have 3 partitions, mountable devices would be
/dev/wd0e
/dev/wd0f
/dev/wd0g

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


Home | Main Index | Thread Index | Old Index