*BSD News Article 75015


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!pipex-sa.net!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!oleane!jussieu.fr!rain.fr!news.sprintlink.net!news-dc-9.sprintlink.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!psinntp!psinntp!psinntp!ivgreen2.cellerity.com!pubxfer.news.psi.net!dan.emsphone.com!not-for-mail
From: dan@dan.emsphone.com (Dan Nelson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: home vs. /usr/home
Date: 30 Jul 1996 03:13:23 GMT
Organization: Executive Marketing Services, Inc.
Lines: 19
Message-ID: <4tjukj$8gs@client2.news.psi.net>
References: <31FD3AF0.7FDE@shrike.depaul.edu>
Reply-To: dnelson@emsphone.com (Dan Nelson)
NNTP-Posting-Host: 199.67.51.101
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960618]

Alexander Litvak <alitvak@shrike.depaul.edu> wrote:
> Hello everybody!  I run a small network for Unix and C/C++/Unix
> classes in the computer training company.  When I installed FreeBSD
> 2.1R I didn't care about the way it mounted directories on my drive
> but now one of the instructors told me that students confused with
> the way their home directories appear.  You see, He said, /usr/home
> and /home are linked together and when they login they see
> /usr/home/name and when they say cd they see /home/name. Anybody have
> an idea how to break this link without destroying directory tree???

Are you using some sort of 'cd/popd/pushd' alias in your cshrc files?
If so, put a 'cd' line in just after the aliases.  That'll reset the
directory so the shell prints /home/name when they log in.

An alternative is to switch to a shell (zsh, bash, ksh, tcsh etc.) that
prints '~name' when it notices it's in a home directory.

	-Dan Nelson
	dnelson@emsphone.com