> some rc scripts seem to assume that test -w should work on
> directories. examples are /rc/bin/lp which tests for /tmp
> being writable. another is /rc/bin/juke that tests on
> /mnt/juke.

in both cases, the test returning the wrong result won't easily
be noticed.  lp just mounts somthing else on /tmp on failure,
and juke restarts/remounts whatever.

i'm not sure anyone has noticed.

by the way, i notice juke has this gem:

        kb=4096

say what!?  fittingly, it's unused.

- erik

Reply via email to