devfs symlink over device doesn't work
- From: Stef Walter <stef@xxxxxxxxxxxxxx>
- Date: Tue, 26 Jun 2007 22:43:38 +0000 (UTC)
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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re: Which CPUTYPE for a dualcore Xeon on AMD64
- Next by Date: Gigabit Ethernet w/Jumbo Frames
- Previous by thread: strange wi driver things.
- Next by thread: Re: devfs symlink over device doesn't work
- Index(es):
Relevant Pages
|
|