From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 30 Jun 2008 19:29:25 -0700 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080701022925.GA19265@dinah> References: <56bcf448db0216b0bc935cb543658ab4@proxima.alt.za> <20080628152138.4217D1E8C35@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080628152138.4217D1E8C35@holo.morphisms.net> Subject: Re: [9fans] 9vx Topicbox-Message-UUID: d1506eac-ead3-11e9-9d60-3106f5b1d025 > I added devsd and wrote an sd loopback yesterday afternoon. > It worked pretty well except that when I ran fdisk, > /dev/sd00/data disappeared. I was going to debug that > before saying anything. 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); Anthony