🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #913

Re: TeX disk space inefficiencies. (save ~2 meg)

#913
From: John Soward
Date: Sat, 07 Nov 1992 21:45
44 lines
2199 bytes
Michael Glenn writes
-> 
-> My second attempt at posting this.  Dunno if this is old news, but...
-> 
-> After installing amstex and amslatex on my NeXT, I discovered several  
-> additional files that were not needed.  Namely duplicate copies of files  
-> that could easily be replaced with symbolic links.
-> 
-> In /usr/lib/tex/formats:
-> 
-> splain.fmt == slitex.fmt (576k)
-> lplain.fmt == latex.fmt  (496k)
-> plain.fmt  == tex.fmt    (288k)
-> 
-> In /usr/bin:
-> 
-> latex  == tex (184k)
-> slitex == tex (184k)
-> virtex == tex (184k)
-> 
-> /usr/bin/tex apparently looks at what command line command was used to  
-> execute it to determine which .fmt file is loaded in.
-> 
-> I've removed latex, slitex, virtex, splain.fmt, lplain.fmt, and plain.fmt,  
-> and replaced them with symbolic links, a total savings of 1912k, almost 2  
-> meg!
-> 
-> Does anyone else know of other such duplicate files that come with the 3.0  
-> packages?

Hmm, well, I looked and all of these files are already links! Jost not symbolic  
links vs hard links! 
There is no disk space savings.

if you had not blown them away ;-) you could do an ls -i /usr/bin/*tex and see  
that they all pointed to the same inode...the same is true of the formats  
files.


--
    ________________________________________________________________________
   /   'The midnight sun will burn you up" -The Cure, Piggy in the Mirror  /
  /         soward@ms.uky.edu | soward@inslab.uky.edu (NeXT Mail)         /
 /_______________________________________________________________________/
Technical Details
Message-ID: <1992Nov7.214536.18021@ms.uky.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!tulane!ukma!news
References: <1992Nov7.172031.10284@dartvax.dartmouth.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!tulane!ukma!news
From: soward@slow.inslab.uky.edu (John Soward)
Subject: Re: TeX disk space inefficiencies. (save ~2 meg)
References: <1992Nov7.172031.10284@dartvax.dartmouth.edu>
Nntp-Posting-Host: slow.inslab.uky.edu
Message-ID: <1992Nov7.214536.18021@ms.uky.edu>
Reply-To: soward@slow.inslab.uky.edu (John Soward)
Organization: University Of Kentucky, Dept. of Math Sciences
Sender: news@ms.uky.edu (USENET News System)
Date: Sat, 7 Nov 1992 21:45:36 GMT
Lines: 44