Subject: Re: can't write fstab
To: Rick Copeland <rickgc@calweb.com>
From: A. Sporner <asporner@eagle.ibc.edu>
List: port-vax
Date: 03/26/1997 18:27:15
Hello There,

I don't want to speak out of turn if you had been dealing with Betram,
but I think I might have answers to your problems.

> # cd /etc
> cp: fstab: Read-only file system

You really need to do a mount /dev/ra0a / first.  If you do a 'mount' 
without arguments you should see / with the associated device root_device
rather than ra0a (if this is your root partition).  I am not sure what
it assumes is the root device.

> # cd /
> # pwd
> /
> # mount /dev/ra0h /usr

You need to unmount /dev/ra0h first before you fsck.  Mount will even mount a
dirty filesystem.  

> # mount /dev/ra0h /usr
> ffs: /dev/ra0h on /usr: Device busy
> # pwd

You see it was already mounted...

> # cd /usr
> # vi

Check your PATH environment variable or even if there is a file /usr/bin/vi.

Hope all this helps.


Andy