Date: Fri, 12 Jun 1998 15:15:16 -0400 (EDT) From: Thomas David Rivers <rivers@dignus.com> To: phk@critter.freebsd.dk, rivers@dignus.com Cc: asami@FreeBSD.ORG, danny@panda.hilink.com.au, freebsd-bugs@FreeBSD.ORG, zach@gaffaneys.com Subject: Re: bin/6653 Message-ID: <199806121915.PAA02665@lakes.dignus.com>
next in thread | raw e-mail | index | archive | help
> > In message <199806121652.MAA01687@lakes.dignus.com>, Thomas David Rivers writes > : > >Umm.... if the goal is to remove _everything_ from /var/run; > >what's wrong with: > > > > cd /var/run > > rm -r -f * > > It may fail if there is too many files for the * to expand. Hmmm... good point. How about: cd /var/run cd .. rm -r -f run mkdir run chmod <appropriately> run chown <appropriately> run chgrp <appropriately> run (the 'cd /var/run' and 'cd ..' are attempts to handle a symlink'd run directory...) - Dave R. - > > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806121915.PAA02665>