From owner-freebsd-questions Mon Jun 16 18:01:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA12517 for questions-outgoing; Mon, 16 Jun 1997 18:01:25 -0700 (PDT) Received: from iceberg.anchorage.net (root@iceberg.anchorage.net [207.14.72.150]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA12512 for ; Mon, 16 Jun 1997 18:01:23 -0700 (PDT) From: un_x@anchorage.net Received: from ai-132.anchorage.net (ai-132 [207.14.72.132]) by iceberg.anchorage.net (8.8.5/8.8.5) with SMTP id PAA16648; Mon, 16 Jun 1997 15:58:20 -0800 Message-ID: <33A641AA.506E@anchorage.net> Date: Tue, 17 Jun 1997 00:50:02 -0700 X-Mailer: Mozilla 2.02 (Win16; I) MIME-Version: 1.0 To: Josef Karthauser CC: freebsd-questions Subject: Re: /dev/wd0 References: <33A56DE8.3A10@anchorage.net> <19970616122050.35967@pavilion.net> <33A58D3F.6A7C@anchorage.net> <19970616151711.25434@pavilion.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > > i can only get a read-only fs now - can i repair this damage? > > > > or do i have to re-install everything? (i hope not! :( ) > > > # cd /dev > > > # ./MAKEDEV all > > nope. just tried it. my FS is READ-ONLY. mknod can't write to it. > > i don't understand - why is there 2 devices for a HD? > > ie - wd AND rwd ... ? > Can you not remount your drive read/write: > mount -w / thanks! that just about did it! i had to: mount -w / cd /dev ./MAKEDEV wd0 (MAKEDEV griped - it couldn't find chgrp, chown, ...) ./MAKEDEV wd0s1f ./MAKEDEV wd0s1e ... etc ... the partition slices aren't made automatically ... you saved my day (week :)! > The 'r' means raw. It's an unbuffered character device, whereas > the non'r' one is a buffered block device. hmmm. i didn't know drives had "character" io :) i guess it's a "character blocking" mode driver. layered on top of the pure "block" mode driver.