Date: Tue, 26 Jun 2007 22:43:38 +0000 (UTC) From: Stef Walter <stef@memberwebs.com> To: freebsd-hackers@freebsd.org Subject: devfs symlink over device doesn't work Message-ID: <20070626224337.A6E25D4C0D@mx.npubs.com>
next in thread | raw e-mail | index | archive | help
After deleting a device in devfs, any symlink placed over it results in ENOENT. # cd /dev # rm console # touch /var/log/console # ln -s /var/log/console console # ls -l console ls: console: No such file or directory I'd like to fix this behavior. Or is there a reason for it that I'm not seeing? Reasoning: I'm using devfs in jails, and I'd like anything written (by user space programs, syslogd, etc...) to /dev/console to go to a file in the jail. So at jail startup I'd like to put a symlink over /dev/console to a normal file. Cheers, Stef Walter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070626224337.A6E25D4C0D>