Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 11:57:04 -0600
From:      "Shawn Barnhart" <swb@grasslake.net>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Limit on the number of disklabel entries?
Message-ID:  <006301c0830a$65959f70$b8209fc0@marlowe>

next in thread | raw e-mail | index | archive | help
Is there a hard limit on the number of disk label entries?

I have a disk slice defined with partitions a-h and would like to an 'i'
entry to finish off the disk space.  Is this not permitted?  When I try to
create the device, I get the following error:

[root@ftp /dev] # sh ./MAKEDEV amrd0s1i
bad partition for disk in: amrd0s1i

A quick glance at MAKEDEV shows that it is only coded to create partitions
up to 'h'.  Is it a matter of editing MAKEDEV or are there other reasons to
limit a slice to only 7 partition entries?



disklabel /dev/amrd0s1

#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1024000        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 63*)
  b:  1319296  1024000      swap                        # (Cyl.   63*- 145*)
  c: 71119692        0    unused        0     0         # (Cyl.    0 -
4426*)
  e:  2097152  2343296    4.2BSD     1024  8192    16   # (Cyl.  145*- 276*)
  f: 12582912  4440448    4.2BSD     1024  8192    16   # (Cyl.  276*-
1059*)
  g: 16777216 17023360    4.2BSD     1024  8192    16   # (Cyl. 1059*-
2103*)
  h: 16777216 33800576    4.2BSD     1024  8192    16   # (Cyl. 2103*-
3148*)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006301c0830a$65959f70$b8209fc0>