In message <[EMAIL PROTECTED]>, Oliver Fromme writes
:

>1.  I have some shell scripts that make use of redirections
>with file descriptors (3>&1 and /dev/fd/3 etc.).  Those
>worked under 4.x out of the box, but didn't work in 5.0,
>because there is no /dev/fd/3 in DEVFS.  I solved this by
>manually mounting FDESCFS over /dev/fd -- is that the right
>solution, or is there a better way?

There is a bug in the /bin/sh which I belive may be present in 5.0-R
where the shell uses fd=3 internally.

For the other part of the question: yes, that is the right way
if you want to use filedescriptors > 2.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to