Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 14:07:40 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        freebsd-stable@freebsd.org
Subject:   Re: Secure NFS (sNFS) on 4-Stable: has somebody succeeded?
Message-ID:  <20040512140039.E32770@atlantis.atlantis.dp.ua>

next in thread | raw e-mail | index | archive | help

Hello!

> Date:      Wed, 12 May 2004 17:14:50 +0900
> From:      Rob <stopspam@users.sourceforge.net>
>
>Perl comes with the FreeBSD-4-Stable base system as:
>   10 -r-xr-xr-x  3 root  wheel  10168 May 11 20:39 /usr/bin/perl
>   10 -r-xr-xr-x  3 root  wheel  10168 May 11 20:39 /usr/bin/perl5
>   10 -r-xr-xr-x  3 root  wheel  10168 May 11 20:39 /usr/bin/perl5.00503
>
>
> Exactly same sizes!! Exactly same file?

 Yes, those are hardlinks:

root@web3# ls -li /usr/bin/perl*
577508 -r-xr-xr-x  3 root  wheel  10168 May 12 11:14 /usr/bin/perl
577508 -r-xr-xr-x  3 root  wheel  10168 May 12 11:14 /usr/bin/perl5
577508 -r-xr-xr-x  3 root  wheel  10168 May 12 11:14 /usr/bin/perl5.00503

Note that inode numbers are the same.

>
> When I do:
>
>   $ perl -e 'print "@INC\n";'
>
> I get no output at all. Why?
>
> When I do:
>
>   $ perl5 -e 'print "@INC\n";'
>   /usr/local/lib/perl5/site_perl/5.005/i386-freebsd

 Aha, that may indicate the problem. In my environment, results are the same.
You can verify which file actually executes your commands:

root@web3# which perl
/usr/bin/perl
root@web3# which perl5
/usr/bin/perl5


Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



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