[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what happened to /dev/fd0?



On Sun, Feb 26, 2006 at 08:05:08PM -0500, hendrik@topoi.pooq.com wrote:
> I have a floppy drive on my srge system.  I used to access it as 
> /dev/fd0.  But there's no /dev/fd0 in my sarge system any more.
> There is a /dev/fd/0, /dev/fd/1, /dev/fd/2, and /dev/fd/3.
> 
> Could /dev/fd/0 be the new name for /dev/fd/0?  Or do I need to look 
> elsewhere for the problem?

Are you using udev?  Then you need to load the "floppy" kernel module
before the device nodes for the floppy drive will appear.

/dev/fd/0, /dev/fd/1, etc. are completely unrelated to the floppy disk
driver.  They are alias names for the file handles (open files) managed
by the current process. By convention, '0' is standard input, '1' is
standard output and '2' is standard error output, all of them usually as
inherited from the parent process.
'3' and onwards are file handles which the process itself opened.

Regards,
Mirko



Reply to: