On Wed, 1 Dec 1999, Matthew D. Fuller wrote:
> On Wed, Dec 01, 1999 at 04:36:12PM -0500, a little birdie told me
> that James Howard remarked
> > On Wed, 1 Dec 1999, Matthew D. Fuller wrote:
> > >
> > > [15:25:53] mortis:~
> > > (ttyp9):{838}% ll -i `which crypt` `which enigma`
> > > 23155 -r-xr-xr-x 2 root wheel 4980 Oct 29 13:47 /usr/bin/crypt*
> > > 23155 -r-xr-xr-x 2 root wheel 4980 Oct 29 13:47 /usr/bin/enigma*
> >
> > Why is that a hard link instead of a symbolic link?
>
> Probably the same reason most (all?) things in the base system that run
> linked are hard links:
> (ll -i | sort is instructive)
>
> /sbin:
> 14445 -r-xr-xr-x 2 root wheel 150840 Oct 29 13:46 mount_mfs*
> 14445 -r-xr-xr-x 2 root wheel 150840 Oct 29 13:46 newfs*
> (That's pretty cool, if mildly weird)
> 14442 -r-xr-xr-x 5 root wheel 59756 Oct 29 13:46 mount_devfs*
> 14442 -r-xr-xr-x 5 root wheel 59756 Oct 29 13:46 mount_fdesc*
> 14442 -r-xr-xr-x 5 root wheel 59756 Oct 29 13:46 mount_kernfs*
> 14442 -r-xr-xr-x 5 root wheel 59756 Oct 29 13:46 mount_procfs*
> 14442 -r-xr-xr-x 5 root wheel 59756 Oct 29 13:46 mount_std*
>
> /bin:
> 124 -r-xr-xr-x 2 root wheel 48592 Oct 29 13:43 [*
> 124 -r-xr-xr-x 2 root wheel 48592 Oct 29 13:43 test*
>
> Sendmail the same way (I can't show it since I have Postfix installed,
> but...) (Ah, here's another system:)
> 430769 -r-sr-xr-x 5 root 7 290816 Nov 18 1998 /usr/bin/mailq*
> 430769 -r-sr-xr-x 5 root 7 290816 Nov 18 1998 /usr/bin/newaliases*
> 430769 -r-sr-xr-x 5 root 7 290816 Nov 18 1998 /usr/sbin/sendmail*
Let me rephrase the question. Why (in general) are hard links used
instead of symbolic links? Symlinks are used on the man pages, why not on
the binaries?
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message