Secure NFS (sNFS) on 4-Stable: has somebody succeeded?

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Wed May 12 04:07:58 PDT 2004


Hello!

> Date:      Wed, 12 May 2004 17:14:50 +0900
> From:      Rob <stopspam at 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 at 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 at web3# which perl
/usr/bin/perl
root at web3# which perl5
/usr/bin/perl5


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


More information about the freebsd-stable mailing list