[Linux-disciples] Recognizing a new NIC

Stephen R Laniel steve at laniels.org
Tue May 17 23:04:15 EDT 2005


On Tue, May 17, 2005 at 10:55:33PM -0400, Adam Rosi-Kessel wrote:
> Um, maybe something about block devices?  Ethernet is not a block device?

Isn't that why there are character devices? My understanding
is that block devices are those which can be buffered (like
hard disks) and character devices are those which can't
(like mice or keyboards). Some network apps (ftp, say) will
be able to handle buffering; others (like ssh) won't. So the
best policy is to make the device node a character device,
and let applications decide how they'll layer buffering
above the device layer.

Such, at least, is my intuition.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050517/145961d0/attachment.pgp


More information about the Linux-disciples mailing list