From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] 9vx From: "Russ Cox" Date: Tue, 1 Jul 2008 08:10:22 -0400 In-Reply-To: <20080701022925.GA19265@dinah> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080701120805.22ECF1E8C22@holo.morphisms.net> Topicbox-Message-UUID: d1ff037c-ead3-11e9-9d60-3106f5b1d025 > Here's the fix for the fdisk problem: > > /sys/src/cmd/disk/prep/edit.c:503,508 - edit.c:503,509 > */ > for(i=0; inctlpart; i++) { > p = edit->ctlpart[i]; > + if(strncmp(p->ctlname, "data", 5) != 0) > if(p->changed) > if(fprint(ctlfd, "delpart %s\n", p->ctlname)<0) { > fprint(2, "delpart failed: %s: %r\n", p->ctlname); That would work, but one wonders why the normal kernel doesn't have this problem. Russ