Alan Cox wrote: > Ar Llu, 2006-07-10 am 10:57 -0400, ysgrifennodd Jon Smirl: >>> A few apps do rely on /proc/tty/drivers for the major-minor >>> to device name mapping. /dev/vc/0 does not exist (unless >>> created manually) without devfs. >> This is why I questioned if /proc/tty was really in use, it contains >> an entry that is obviously wrong for my system. > > Which tools already know about. True. I see this code snippet many times: fd = open("/dev/vc/0", FLAGS); if (fd == -1) fd = open("/dev/tty0", FLAGS); > What is so hard to understand about the > idea that pointless random changes break stuff and don't fix things. But since we're killing devfs, changing /dev/vc/0 to /dev/tty0 will be one of the nails in devfs' coffin :-) Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- References:
- [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: Alan Cox <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: Alan Cox <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: Alan Cox <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Antonino A. Daplas" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: "Jon Smirl" <[email protected]>
- Re: [PATCH] Clean up old names in tty code to current names
- From: Alan Cox <[email protected]>
- [PATCH] Clean up old names in tty code to current names
- Prev by Date: [PATCH 001/001] /fs/proc/: 'larger than buffer size' memory accesses by clear_user()
- Next by Date: [PATCH 001/001] /fs/proc/: 'larger than buffer size' memory accesses by clear_user()
- Previous by thread: Re: [PATCH] Clean up old names in tty code to current names
- Next by thread: Re: [PATCH] Clean up old names in tty code to current names
- Index(es):