Date: Tue, 11 Jan 2000 13:01:51 -0800 (PST) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: jkh@zippy.cdrom.com (Jordan K. Hubbard) Cc: asmodai@bart.nl (Jeroen Ruigrok van der Werven), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/delete perform.c Message-ID: <200001112101.NAA25463@gndrsh.dnsmgr.net> In-Reply-To: <26517.947620979@zippy.cdrom.com> from "Jordan K. Hubbard" at "Jan 11, 2000 12:02:59 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > I installed a number of ports and when I wanted to upgrade I just cd'd > > into /var/db/pkg and pkg_delete'd the appropriate port. Note ^^^^^^^^^^^ not /var/db/pkg/pkg_name_im_about_to_delete > > Hahahaha. That's pretty funny, and yes, that would certainly do it. > I forget that people do things as silly as this sometimes. > > Think about it, Jeroen. You're in a directory which is about to be > wiped out by the act of package deleting the package, a directory > there is *absolutely no need* to cd into first unless you get your ^^^^^^^^^^^^^^^^^^ There may be no need, but there is a great speed advantage to cd'ing to /var/db/pkg and running pkg_delete from there. It's called filename completion. I do this all the time. And no, it won't trigger the ``We aren't in Kansas anymore'' message. > kicks from yanking out the rug you're standing on. :-) It really bugged me when this started to happen in unix: gndrsh:rgrimes {149}% cd /tmp gndrsh:rgrimes {150}% mkdir r gndrsh:rgrimes {151}% cd r gndrsh:rgrimes {152}% rmdir . rmdir: .: Invalid argument gndrsh:rgrimes {153}% (cd ..; rmdir r) gndrsh:rgrimes {154}% pwd pwd: .: No such file or directory The restriction on rmdir . is totally bogus stupid crap, as you can see it is easy to get around this bug :-) -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001112101.NAA25463>