NetBSD-Users archive

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

Re: How to create new partition from free space on a disk



On Tue, Dec 10, 2019 at 08:53:31AM +0530, Mayuresh wrote:
> Now, where is it supposed to reflect as a device as /dev/wd0*?  disklabel
> still shows usual abcde.

My disklabel looks like this. Not sure how swap got created twice.

# /dev/rwd0:
type: unknown
disk: TOSHIBA MQ04ABF
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1938021
total sectors: 1953525168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 188426448        63     4.2BSD   2048 16384     0  # (Cyl.      0*- 186931*)
 b:   8160736 1945364432       swap                     # (Cyl. 1929925*- 1938020)
 c: 204812622        63     unused      0     0        # (Cyl.      0*- 203187*)
 d: 1953525168         0     unused      0     0        # (Cyl.      0 - 1938020)
 e:  16384032 188426511       swap                     # (Cyl. 186931*- 203185*)

Shall I be using disklabel -e 

Mayuresh


Home | Main Index | Thread Index | Old Index