[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
file locations?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: file locations?
- From: Matthew Patton <matthew_(_dot_)_patton_(_at_)_ra_(_dot_)_pae_(_dot_)_osd_(_dot_)_mil>
- Date: Wed, 13 May 1998 11:54:15 -0400
- Delivery-date: Wed May 13 08:54:17 1998
sorry to be 'spamming' the list. I'll be putting my comments together so as
to cut down on the traffic.
I noticed quotaon and quotacheck are in different locations. Why aren't
they both in /usr/sbin? Having read the "file system guide" (sorry link
isn't handy) /sbin/quotacheck hardly seems 'necessary' for basic
bootstrapping and singleuser mode. What sayeth the core group about moving it?
A bit more about rc file contents:
>if [ ! -d /var/tmp/vi.recover ]; then
> if [ -e /var/tmp/vi.recover ]; then
> echo "Warning! /var/tmp/vi.recover is not a directory!"
> else
> mkdir /var/tmp/vi.recover
> chmod 1777 /var/tmp/vi.recover
> fi
>fi
Now when we discover vi.recover is not a directory shouldn't we unlink it
and proceed to make the directory anew? So the code would look like:
if [ ! -d /var/tmp/vi.recover ]; then
if [ -e /var/tmp/vi.recover ]; then
echo "Warning! /var/tmp/vi.recover is not a directory!"
rm -f /var/tmp/vi.recover
fi
mkdir /var/tmp/vi.recover
chmod 1777 /var/tmp/vi.recover
fi
On an unrelated note, I see that VI stuffs files into /var/preserve. Under
what conditions does this happen?
Yes, yes my holy grail at the moment is finding what constitutes an
absolutely minimalist system. Preferably something I can boot off 1 flopppy
but it looks like it'll be 2. The box doesn't do anything but act as a
router and packet filtering firewall. Any comments regarding such an effort?
Visit your host, monkey.org