What will you do if there is ever a /dev/core? Or some legitimate
application which wants to call its control AF_UNIX socket `core' (granting
that that's a silly thing to call it, but app vendors often seem to be
rather silly anyway)?
It's stupid to do something like the above without using `-type f'. Core
files cannot be directories, or sockets, or device files.
(It also means you can't symlink core to /dev/null, a common trick on public
FTP servers... although `ulimit -c 0' is probably preferable.)
-- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university
- 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/