🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5285

Re: Links of Binaries

#5285
From: David Hamaker
Date: Wed, 12 Jan 1994 23:05
20 lines
1592 bytes
In article nms@bigblue.oit.unc.edu, craig@med.unc.edu (Ron Craig) writes:
> ... Can't I just use a soft link to make the aliases?
> 
> EG.   ln -s /usr/local/bin/nn /usr/local/bin/nnadmin
> 
> to get a 17-byte link instead of what I have now?
> Here's what I have now:
> 
> -rwxr-xr-x   8 craig    ds        432951 Jan 06 13:59 /usr/local/bin/nn
> -rwxr-xr-x   8 craig    ds        432951 Jan 06 13:59 /usr/local/bin/nnadmin
> ...

The ls output you show says the 8 large files are all hard links to the same data.
The number of links is the number right after the permissions.  That doesn't even
need the 17 bytes.  You have what you want already.  To convince yourself further,
do a "ls -li" and you should see all eight files have the same i-number (eight
directory entries pointing to the same inode).

-Dave
 dwh@cfcl.com
Technical Details
Message-ID: <2h1vo9$kj7@jethro.Corp.Sun.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!koriel!news2me.EBay.Sun.COM!jethro.Corp.Sun.COM!merlini!dwh
References: <2h1s67$nms@bigblue.oit.unc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <2h1vo9$kj7@jethro.Corp.Sun.COM>
Subject: Re: Links of Binaries
Date: Wed, 12 Jan 1994 23:05:45 +0000
From: dwh@merlini.Corp.Sun.COM (David Hamaker)
References: <2h1s67$nms@bigblue.oit.unc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!koriel!news2me.EBay.Sun.COM!jethro.Corp.Sun.COM!merlini!dwh
Newsgroups: news.software.nn
Organization: Sun Microsystems, Inc.
Lines: 22
Distribution: world
Reply-To: dwh@cfcl.com
NNTP-Posting-Host: merlini.corp.sun.com