Date: Mon, 14 Jan 2002 15:45:24 +0100 (CET) From: Michael Reifenberger <root@nihil.plaut.de> To: Bruce Evans <bde@zeta.org.au> Cc: FreeBSD-Current <current@FreeBSD.ORG> Subject: Re: panic during fdisk'ing a md(4) device Message-ID: <20020114152940.W429-200000@nihil> In-Reply-To: <20020114235843.S5601-100000@gamplex.bde.org>
next in thread | previous 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-275960608-1011019524=:429 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 15 Jan 2002, Bruce Evans wrote: ... > Yes, it is a bit confusing. sys/types.h gives the userland version. Only as confusing as the rest of the dk* code :-) > > Try this version. Only disklabel.h has many changes. The code for > avoiding creation of bogus 'c' partitions didn't work at all. This works during startup but the following commands cases a panic while executing newfs (BT is attached): mdconfig -a -t swap -s 128M -o reserve -u 10 disklabel -r -w md10 auto (When looking into /dev now I see two! md10c devices!) newfs -f 4096 /dev/md10c tunefs -n enable /dev/md10c mount /dev/md10c /tmp Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS --0-275960608-1011019524=:429 Content-Type: TEXT/plain; name="BT.txt" Content-Transfer-Encoding: BASE64 Content-ID: <20020114154524.F429@nihil> Content-Description: Content-Disposition: attachment; filename="BT.txt" R05VIGdkYiA0LjE4DQpDb3B5cmlnaHQgMTk5OCBGcmVlIFNvZnR3YXJlIEZv dW5kYXRpb24sIEluYy4NCkdEQiBpcyBmcmVlIHNvZnR3YXJlLCBjb3ZlcmVk IGJ5IHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSwgYW5kIHlvdSBh cmUNCndlbGNvbWUgdG8gY2hhbmdlIGl0IGFuZC9vciBkaXN0cmlidXRlIGNv cGllcyBvZiBpdCB1bmRlciBjZXJ0YWluIGNvbmRpdGlvbnMuDQpUeXBlICJz aG93IGNvcHlpbmciIHRvIHN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4ODA2ZGJmNCwgdGZfZWN4ID0gMHg4MDZkYWUwLCB0Zl9l YXggPSAweDM2LCANCiAgICAgIHRmX3RyYXBubyA9IDB4YywgdGZfZXJyID0g MHgyLCB0Zl9laXAgPSAweDgwNGU1MDAsIHRmX2NzID0gMHgxZiwgdGZfZWZs YWdzID0gMHgyODMsIHRmX2VzcCA9IDB4YmZiZmY2Y2MsIA0KICAgICAgdGZf c3MgPSAweDJmfSkgYXQgLi4vLi4vLi4vaTM4Ni9pMzg2L3RyYXAuYzoxMDM0 DQojMjEgMHhjMDIwZTA1ZCBpbiBzeXNjYWxsX3dpdGhfZXJyX3B1c2hlZCAo KQ0KIzIyIDB4ODA0OTI4OCBpbiA/PyAoKQ0KIzIzIDB4ODA0ODEzNSBpbiA/ PyAoKQ0KKGtnZGIpIA== --0-275960608-1011019524=:429-- 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?20020114152940.W429-200000>