Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 15:59:25 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        re@freebsd.org, FreeBSD current users <current@FreeBSD.ORG>
Subject:   Sign fixes for disklabel(8)
Message-ID:  <Pine.BSF.4.21.0211151555190.46162-200000@InterJet.elischer.org>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-169692073-1037404765=:46162
Content-Type: TEXT/PLAIN; charset=US-ASCII


Here are the diffs to allow disklabel to correctly create partitions >
1TB (up to 2TB is useful with UFS2) pending a different partitionning
scheme. It also allows you to correctly make smaller partitions beyond
1TB which is nice if you don't want to waste 800GB on an array :-)


permission to commit please?
(pending comments by others)

(also the sysinstall changes posted before)
(also the bluetooth code)


--0-169692073-1037404765=:46162
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="disklabel.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.21.0211151559250.46162@InterJet.elischer.org>
Content-Description: 
Content-Disposition: attachment; filename="disklabel.diff"

SW5kZXg6IGRpc2tsYWJlbC5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS
Q1MgZmlsZTogL3Vzci9jdnMvc3JjL3NiaW4vZGlza2xhYmVsL2Rpc2tsYWJl
bC5jLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS42Mg0KZGlmZiAtdSAtcjEu
NjIgZGlza2xhYmVsLmMNCi0tLSBkaXNrbGFiZWwuYwk4IE9jdCAyMDAyIDEy
OjEzOjE5IC0wMDAwCTEuNjINCisrKyBkaXNrbGFiZWwuYwkxNSBOb3YgMjAw
MiAyMzo1MzowNCAtMDAwMA0KQEAgLTk0Myw3ICs5NDMsOCBAQA0KIAljb25z
dCBjaGFyICoqY3BwOw0KIAl1bnNpZ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aWduZWQgaW50
IHY7DQogDQogCXBwID0gJmxwLT5kX3BhcnRpdGlvbnNbcGFydF07DQogCWNw
ID0gTlVMTDsNCkBAIC0xMzcwLDcgKzEzNzEsNyBAQA0KIAkJCQkJCWhvZ19w
YXJ0ID0gaTsNCiAJCQkJfQ0KIAkJCX0gZWxzZSB7DQotCQkJCW9mZl90IHNp
emU7DQorCQkJCXVfaW50NjRfdCBzaXplOw0KIA0KIAkJCQlzaXplID0gcHAt
PnBfc2l6ZTsNCiAJCQkJc3dpdGNoIChwYXJ0X3NpemVfdHlwZVtpXSkgew0K
QEAgLTE1MTcsNyArMTUxOCw3IEBADQogCQkJICAgICJwYXJ0aXRpb24gJWM6
IG9mZnNldCBwYXN0IGVuZCBvZiB1bml0XG4iLCBwYXJ0KTsNCiAJCQllcnJv
cnMrKzsNCiAJCX0NCi0JCWlmIChwcC0+cF9vZmZzZXQgKyBwcC0+cF9zaXpl
ID4gbHAtPmRfc2VjcGVydW5pdCkgew0KKwkJaWYgKChwcC0+cF9vZmZzZXQg
KyBwcC0+cF9zaXplKSA+IGxwLT5kX3NlY3BlcnVuaXQpIHsNCiAJCQlmcHJp
bnRmKHN0ZGVyciwNCiAJCQkicGFydGl0aW9uICVjOiBwYXJ0aXRpb24gZXh0
ZW5kcyBwYXN0IGVuZCBvZiB1bml0XG4iLA0KIAkJCSAgICBwYXJ0KTsNCg==
--0-169692073-1037404765=:46162--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211151555190.46162-200000>