Re: Can I open a special file with major/minor instead of name?

Dave Cinege (dcinege@psychosis.com)
Sun, 14 Jun 1998 03:49:40 -0400


Richard Gooch wrote:

> > > Why not use devfs?
> >
> > #1 because it's 2.0.34
>
> Ah. Minor technical problem there. Of course, that leads to the
> obvious question: why not use 2.1.x?

Because for linux router, I am interested in stability.
I'm made a 2.1 version of initrd-archive (a required feature for LRP. Everyone
email Alan now and tell him to put it in ; >)
But until I start seeing large uptimes from 2.1 I won't look to make it a stock
part.

So.....how can I do this: (void) open( MKDEV(TTY_MAJOR,1) ,O_RDWR,0);
with 2.0?

-- 
http://www.psychosis.com/emc/		Elite MicroComputers   732-541-4214 
http://www.psychosis.com/linux-router/	Linux Router Project 
 
SIC SEMPER SPAMMER!!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu