Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Linux device drivers...



I'm a little unclear on theory between the two devices. Would a
character device
be something like the keyboard (passing one char at a time) as
opposed to block (that uses a buffer then passes the contents of the
buffer)?
I have no idea how you would use a pipe in this context.

Kevin

Jerry Feldman wrote:

> First, the files in the /dev/ directory are usually device special files and
> rarely are there normal files. When you do an ls -l, the first character
> before the permissions says whether it is a character or block device.
> In the following, ptyp0 is a character device with a major number of 7,
> and a minor number of 0.
> crw-rw-rw-   1 root     system     7,      0 Oct 22 14:48 ptyp0
> Each driver is identified by a major number, and the device is generally
> the minor number, but that actually depends on the driver. Floppy names
> are normally set up as something like /dev/fd01440. There is a whole
> bunch of them. I don't have a linux system that I can log into from here.
>
> On 21 Feb 00, at 10:22, Kevin M. Gleason wrote:
>
> > I was playing around on my Linux box and had some questions about files
> > in /dev.
> > If fd0 is used to define the first 3 1/2" high density floppy what other
> > device drivers might I expect to see for the same size drive?
> >
> > Or other drivers on my computer (I have used the cdrom is09660).
> >
> > Are there drivers for the old 5 1/4" floppy disk drives?
> >
> > Thanks for your help.
> >
> > Kevin
> >
> > -
> > Subcription/unsubscription/info requests: send e-mail with
> > "subscribe", "unsubscribe", or "info" on the first line of the
> > message body to discuss-request at blu.org (Subject line is ignored).
>
> --
> Jerry Feldman
> Contractor, eInfrastructure Partner Engineering
> 508-467-4315 http://www.testdrive.compaq.com/linux/
>
> Compaq Computer Corp.
> 200 Forest Street MRO1-3/F1
> Marlboro, Ma. 01752
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org