Re: Using hamm? READ THIS about /usr/spool and related links...
On Wed, 11 Feb 1998, Craig Sanders wrote:
> On Tue, 10 Feb 1998, Santiago Vila Doncel wrote:
> > But then: How will we know which programs do not use /var/spool yet?
> > The answer is very simple: Just remove the symlinks and see which programs
> > break. Of course, this has to be done in *unstable*, where every
> > program may break.
> > So if a program breaks because it uses /usr/spool, *that* is a bug.
> how about this as a start:
> for i in /bin /sbin /sbin /usr/sbin /usr/X11R6/bin [...etc...] ; do
> for j in $i/* ; do
> strings -a $j | grep -q "/usr/spool" && echo $j uses /usr/spool
here's what a similar loop run on my /usr/bin reports:
# cd /usr/bin
# for i in * ; do strings -a $i | grep -q "/usr/spool" && echo $i uses /usr/spool ; done
epic4 uses /usr/spool
mailserver uses /usr/spool
ncftp uses /usr/spool
nn uses /usr/spool
nnbatch uses /usr/spool
nncheck uses /usr/spool
nngrep uses /usr/spool
nnpost uses /usr/spool
nntidy uses /usr/spool
nnview uses /usr/spool
pine uses /usr/spool
strings: smath: Too many levels of symbolic links
sortmail uses /usr/spool
xemacs uses /usr/spool
xemacs-20.2 uses /usr/spool
the "broken pipe" messages are presumably from binaries with no strings in
on my system, /usr/bin/smath is a symlink to /etc/alternatives/smath.
/etc/alternatives/smath is a symlink to /usr/bin/smath. i suppose
it's a good think i don't use smath for anything :-). smath is from
staroffice. it's installed weirdly on my systems...i have it installed
on kali.taz.net.au and have /usr/lib/StarOffice3.1 nfs mounted on my
workstation siva.taz.net.au because kali has gobs of free disk space and
i built siva with a way-too-small /usr partition a long time ago.
it may be necessary for bug reports to be filed against the other
packages - depends on whether they are written to only use /usr/spool
or if the string is in there because they can use it as a second-choice
alternative to /var/spool.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .