From owner-freebsd-questions Mon Jun 16 07:17:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA07483 for questions-outgoing; Mon, 16 Jun 1997 07:17:53 -0700 (PDT) Received: from florence.pavilion.net (mailrelay1.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA07478 for ; Mon, 16 Jun 1997 07:17:50 -0700 (PDT) Received: (from joe@localhost) by florence.pavilion.net (8.8.5/8.8.5) id PAA28034; Mon, 16 Jun 1997 15:17:11 +0100 (BST) Message-ID: <19970616151711.25434@pavilion.net> Date: Mon, 16 Jun 1997 15:17:11 +0100 From: Josef Karthauser To: un_x@anchorage.net Cc: freebsd-questions Subject: Re: /dev/wd0 References: <33A56DE8.3A10@anchorage.net> <19970616122050.35967@pavilion.net> <33A58D3F.6A7C@anchorage.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <33A58D3F.6A7C@anchorage.net>; from un_x@anchorage.net on Mon, Jun 16, 1997 at 12:00:15PM -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, Jun 16, 1997 at 12:00:15PM -0700, un_x@anchorage.net wrote: > Josef Karthauser wrote: > > > > 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! :( ) > > > > Try: > > > # cd /dev > > # ./MAKEDEV all > > > > That should rebuild everything. > > 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 / The 'r' means raw. It's an unbuffered character device, whereas the non'r' one is a buffered block device. The same's true for my scsi disk, ie: crw-r----- 1 root operator 13, 0x00010002 Aug 6 1995 /dev/rsd0 brw-r----- 1 root operator 4, 0x00010002 Aug 6 1995 /dev/sd0 ^ ^ C=character, B=block. Joe -- Josef Karthauser Technical Manager Email: joe@pavilion.net Pavilion Internet plc. [Tel: +44 1273 607072 Fax: +44 1273 607073]