Subject: Re: vi error?
To: Greg Evans <raisplin@rcn.com>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 03/03/1999 21:02:58
On Wed, 3 Mar 1999, Greg Evans wrote:

> OK, I am back up and running..sort of...
> 
> Following the directions for having seperate root and usr partitions, I 
> started up and ran 'fsck -f' and then 'mount -a' did tar --unlink -zxvpf 
> filename.tgz on all remaining files (which was everything except etc.tgz 
> and kern.tgz
> 
> Now, how do I get my usr partition to automatically mount? 

Put something in your /etc/fstab like this:

	/dev/sd0g /usr ffs rw 1 2

> right now, 
> even after I mount it manually with 'mount /dev/sd0g /usr' I can't use 
> vi, i get an error 'ex/vi: Error: unknown: No such file or direcotry' if 
> I try from the prompt 'vi' or 'vi /etc/rc.conf' or even '/usr/bin/vi', if 
> I 'cd /usr/bin' and then do an 'ls' vi is definitely there, permissions 
> on it show as '-r-xr-xr-x 3 bin bin 253952 Dec 14 vi'

This is because it doesn't know what kind of terminal you're on.  Answer
the "terminal type" prompt with "vt100" or "mac" (without the quotes),
or type 

	tset vt100

--------------------------------------------------------------------------
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------