Article View: comp.sources.bugs
Article #350Re: Pathalias Problem
From: karl_kleinpaste
Date: Tue, 08 May 1990 18:51
Date: Tue, 08 May 1990 18:51
17 lines
1220 bytes
1220 bytes
gumby@ucrmath.UCR.EDU writes:
...pathalias is run with:
/usr/lib/uucp/pathalias -i /usr/spool/uucp/Maps/* > /tmp/paths
It complains that the "arg list too long" and terminates.
The problem is not with getopt(3). The problem is that the number of
files is simply too large, for each to be a complete pathname not less
than 30 or so characters long -- the limit on how many things can be
passed to a program from the shell via argv[] is too small.
Change the way that pathalias is invoked, so that pathalias is invoked
from within the directory where the map files live:
cd /usr/spool/uucp/Maps
/usr/lib/uucp/pathalias -i * > /tmp/paths
and it'll probably work just fine again.
--karl
Technical Details
Message-ID:
<KARL.90May8145152@giza.cis.ohio-state.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpasteReferences:
<6145@ucrmath.UCR.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpaste From: karl_kleinpaste@cis.ohio-state.edu Newsgroups: comp.sources.bugs,comp.unix.xenix Subject: Re: Pathalias Problem Message-ID: <KARL.90May8145152@giza.cis.ohio-state.edu> Date: 8 May 90 18:51:52 GMT References: <6145@ucrmath.UCR.EDU> Sender: news@tut.cis.ohio-state.edu Followup-To: comp.sources.bugs Distribution: usa Organization: Ohio State Computer Science Lines: 17