Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 1997 15:17:11 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        un_x@anchorage.net
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /dev/wd0
Message-ID:  <19970616151711.25434@pavilion.net>
In-Reply-To: <33A58D3F.6A7C@anchorage.net>; from un_x@anchorage.net on Mon, Jun 16, 1997 at 12:00:15PM -0700
References:  <33A56DE8.3A10@anchorage.net> <19970616122050.35967@pavilion.net> <33A58D3F.6A7C@anchorage.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970616151711.25434>