Messages in this thread
 Date Sun, 10 Oct 1999 00:30:06 +1000 From Nathan Hand <> Subject Re: [linux-usb] Re: USB device allocation
On Fri, Oct 08, 1999 at 03:26:39PM -0400, Theodore Y. Ts'o wrote:> >    If the user plugs in a USB modem, the user knows they plugged in a modem,>    they run their getty/pppd/minicom on the new modem device.> > What's the difference between saying this and saying, "If the user plugs> in a USB modem, they know they have plugged in a modem, and they can> type the appropriate mknod command as root"?  Why is it Too Hard and> Unfair to force a user to type a mknod command, but it's OK to force> them to edit /etc/ttys or /etc/ppp/options?This paragraph sums up the crux of the argument, and eloquently sayswhat hpa and alan said in the last devfs flamefest.Devfs as a filesystem doesn't do enough. You still need a user spacedaemon to do more complex things. For example, plugging in a hotswapisdn card shouldn't just create /dev/ppp, it should also fire up theifconfig and pppd processes. There are other (better) examples.And once you admit you need a user space daemon, then you can acceptthat you don't *need* devfs as a filesystem. You can achieve most ofdevfs's functionality using a user space daemon. I particularly likeyour idea of select/poll on /proc/devices.But keep in mind that updating /dev is likely to be only a tiny partof what this daemon would ultimately do. It could also start scriptsto mount drives, configure ports, restore defaults, upload flashcodeto devices, configure networks, notify userspace processes, etc.Similarly to cardmgr/PCMCIA already.-- Nathan Hand - Chirp Web Design - http://www.chirp.com.au/ - $e^{i\pi}+1 = 0$Phone: +61 2 6230 1871   Fax: +61 2 6230 1515   E-mail: nathanh@chirp.com.au-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.rutgers.eduPlease read the FAQ at http://www.tux.org/lkml/

Last update: 2005-03-22 13:54    [W:0.244 / U:0.984 seconds]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site