Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 22:35:37 +0200
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        Osmany Guirola Cruz <osmany.guirola@cigb.edu.cu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /dev/fd
Message-ID:  <43331599.6090108@cs.tu-berlin.de>
In-Reply-To: <1127413251.96673.29.camel@draco.cigb.edu.cu>
References:  <1127413251.96673.29.camel@draco.cigb.edu.cu>

next in thread | previous in thread | raw e-mail | index | archive | help
Osmany Guirola Cruz wrote:
> Hi people
>   i am using a program(encode2mpeg) but it use this devices 
> /dev/fd/3 y /dev/fd/4 but in my system i only have 
> 
> /dev/fd/0 /dev/fd/1 /dev/fd/2.....
> 
> How can i create this devices? 

Load the kernel module fdescfs.ko and run

   mount_fdescfs fdescfs /dev/fd

That's it.

Add the line

   fdescfs /dev/fd fdescfs rw 0 0

to /etc/fstab and

   fdescfs_load="YES"

to /boot/loader.conf to make it permanent.

Björn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43331599.6090108>