From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 05 May 2005 - 18:43:15 BST
On Thu, May 05, 2005 at 09:55:23AM +0200, KaalH! wrote:
> Can I use /dev/stderr within vservers ?
yup, /dev/std* are symlinks into the file descriptors
(there is nothing like a device for stderr) so
usually those look like this:
$ ls -la /dev/std*
lrwxrwxrwx 1 root root 4 2005-05-04 05:44 /dev/stderr -> fd/2
lrwxrwxrwx 1 root root 4 2005-05-04 05:44 /dev/stdin -> fd/0
lrwxrwxrwx 1 root root 4 2005-05-04 05:44 /dev/stdout -> fd/1
$ ls -la /dev/fd
lrwxrwxrwx 1 root root 13 2005-05-04 05:44 /dev/fd -> /proc/self/fd
HTH,
Herbert
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver