Re: 2.1.131: some quality thoughts

Ben Kosse (BKosse@thecreek.com)
Thu, 17 Dec 1998 13:46:11 -0800


> On Thu, 17 Dec 1998, Alan Cox wrote:
> > Why
> Because a lot of people do a recursive find on the word core and delete it
> to keep their filesystem clean without checking for file type.

So what?

[benkos@sptnet01 benkos]$ mkdir core
[benkos@sptnet01 benkos]$ rm -f core
rm: core: is a directory
[benkos@sptnet01 benkos]$ ls
GNUstep core downloads lookatthis nsmail testfile
Xrootenv.0 database intranet mail readthis

Note that core doesn't go away.

Why are they being so stupid as to do "rm -rf" instead of "rm -f"? "rm -f"
will blow away core files but not core directories. Of course, blindly
deleting anything is stupid anyway.

--
Ben Kosse
bkosse@thecreek.com
PC Support Analyst
Coldwater Creek Inc.
(208) 265-7114

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/