From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] formatting new floppy From: okamoto@granite.cias.osakafu-u.ac.jp MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fecwxgcdxazbtuxbegjhfmnrbo" Message-Id: <20010711041051.DF6BA199C0@mail.cse.psu.edu> Date: Wed, 11 Jul 2001 13:11:53 +0900 Topicbox-Message-UUID: c5104522-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fecwxgcdxazbtuxbegjhfmnrbo Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit This may occur only in our system... If not, try to add a single line just below the line p = malloc(strlen(disk) + 4); /* disk + "ctl" + nul */; in opendisk() function of /sys/src/libdisk/disk.c file. The line is strcpy(p, disk); PS. judging from the last ';' in the "p = line", I might have done bad to this file here. If so, I'm sorry to have made noise. Kenji --upas-fecwxgcdxazbtuxbegjhfmnrbo Content-Type: message/rfc822 Content-Disposition: inline Received: from granite.cias.osakafu-u.ac.jp ([192.168.1.3]) by diabase; Fri Jun 29 16:43:24 JST 2001 Received: from elmo.cias.osakafu-u.ac.jp (elmo.cias.osakafu-u.ac.jp [157.16.103.2]) by granite.cias.osakafu-u.ac.jp (8.9.3/8.9.3) with ESMTP id QAA00973; Fri, 29 Jun 2001 16:42:41 +0900 Received: from mail.cse.psu.edu (postfix@psuvax1.cse.psu.edu [130.203.4.6]) by elmo.cias.osakafu-u.ac.jp (8.9.3/3.7W-01061412) with ESMTP id QAA13862; Fri, 29 Jun 2001 16:42:31 +0900 (JST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1771B199DD; Fri, 29 Jun 2001 03:42:14 -0400 (EDT) Received: from granite.cias.osakafu-u.ac.jp (granite.cias.osakafu-u.ac.jp [157.16.101.69]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id E90D01998A for <9fans@cse.psu.edu>; Fri, 29 Jun 2001 03:41:00 -0400 (EDT) To: 9fans@cse.psu.edu From: okamoto@granite.cias.osakafu-u.ac.jp MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010629074100.E90D01998A@mail.cse.psu.edu> Subject: [9fans] formatting new floppy Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 29 Jun 2001 16:41:33 +0900 disk/format -b /386/pbs -df /dev/fd0disk /386/9load /386/plan9.ini will die such format 743: suicide: sys: trap: fault read addr=0xcafebabe pc=0x00004d6e. Acid tells me the format program is confusing floppy drive as hard disk drive... Kenji --upas-fecwxgcdxazbtuxbegjhfmnrbo--