devfs and /dev/fd/3
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Jun 4 14:53:18 PDT 2003
In message <20030604170809.GA56245 at stack.nl>, Marc Olzheim writes:
>On Wed, Jun 04, 2003 at 03:44:28PM +0200, Harti Brandt wrote:
>> MO>( echo foo | tee /dev/fd/3 | tr f F ) 3>&1
>> MO>
>> MO>It should produce both "foo" and "Foo"
>>
>> mount -tfdescfs fdesc /dev/fd
>>
>> but your example doesn't work even then (although it gives no error).
>> Don't know why.
>
>Hmm, it does work for me here now. Thanks a lot guys !
>
>uname -a:
>FreeBSD turtle.stack.nl 5.1-BETA FreeBSD 5.1-BETA #10: Mon May 12 15:30:54 CEST 2003 jilles at turtle.stack.nl:/usr/obj/usr/src/sys/TURTLE i386
>
>Btw. Why isn't this default mounted together with devfs in /etc/rc.d ?
>Is it not yet stable enough ?
There is no reason not to, but there seems, on the other hand, to
not be enough reason to do so either.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list