Xref: utzoo comp.unix.wizards:6520 comp.arch:3418 Path: utzoo!mnetor!uunet!nuchat!flatline!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.unix.wizards,comp.arch Subject: Weird symbolic links... (Re: Jerry Pournelle on UNIX (From BYTE)) Message-ID: <1449@sugar.UUCP> Date: 11 Feb 88 04:01:35 GMT References: <1495@osiris.UUCP: <2126@haddock.ISC.COM> <1497@osiris.UUCP> <1424@gumby.mips.COM> Organization: Sugar Land UNIX - Houston, TX Lines: 18 In article <1424@gumby.mips.COM>, earl@mips.COM (Earl Killian) writes: > renamings. The best way to describe ITS translations to the Unix > community would be to say they were a per-process sed script applied > to every filename passed to the kernel. As such you can modify a For an even more powerful capability, check out the USENIX transcripts for a hack called "Watchdogs". A watchdog is a program attached to a file that will be executed when you do a system call that references that file (or when namei does). This program can let requests default to their normal behaviour, refuse them, or fill in their own behaviour. So you can set up a mail daemon by putting a watchdog on /usr/mail/ethel to snarf up anything written to the file and pass it on to mail. Or just have "/bin/rm" turned into "bin/rm" under your home directory. -- -- Peter da Silva `-_-' ...!hoptoad!academ!uhnix1!sugar!peter -- Disclaimer: These U aren't mere opinions... these are *values*.