Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 02:12:19 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Todd Ross <brainlist@brainsick.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: two quick questions (man pages and tcsh)
Message-ID:  <20020420231218.GA4391@hades.hell.gr>
In-Reply-To: <200204202308.g3KN4N8A004339@hades.hell.gr>
References:  <20020420133926.E841C37B41A@hub.freebsd.org> <20020420154955.GA1199@hades.hell.gr> <200204202308.g3KN4N8A004339@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-04-20 16:45, Todd Ross wrote:
> [root@copper:/etc]> ls -lAF /.cshrc
> -rw-r--r--  2 root  wheel  801 Mar 16 11:31 /.cshrc
> [root@copper:/etc]> ls -lAF /root/.cshrc
> -rw-r--r--  2 root  wheel  801 Mar 16 11:31 /root/.cshrc
>
> Is one a symlink to the other?  From my amateur eyes, I'd say no.  Does the
> one in /root get sync'd with the one in / somehow?

Hard links.  Essentially the same file, appearing in two distinct
places of the filesystem.  Hard links point to the same i-node:

	[charon@hades ~]$ ls -li /.cshrc /root/.cshrc
	41899 -rw-r--r--  2 root  wheel  - 1935 Mar  8 01:31 /.cshrc
	41899 -rw-r--r--  2 root  wheel  - 1935 Mar  8 01:31 /root/.cshrc

- Giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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