Skip to contentSkip to conversation

/dev/zero

DISCUSSION blesson paul 4 participants 4 messages Apr 19, 2002 – Apr 23, 2002

lore
Share & tools
lore
#0 lore raw

Hi
I need some more information about /dev/zero. I need to replace the device
driver of /dev/zero(I do not know whether I can name the program controlling the /dev/zero as device driver). How to do the job. If I cannot replace the device driver of /dev/zero, how to create a new charecter device and load my device driver.

regards
Blesson Paul

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

#1 lore raw
Quoted 7 lines · blesson paul

Hi
I need some more information about /dev/zero. I need to replace the device
driver of /dev/zero(I do not know whether I can name the program controlling the /dev/zero as device driver). How to do the job. If I cannot replace the device driver of /dev/zero, how to create a new charecter device and load my device driver.

Hi,

I don't have any clue, why one should want to replace /dev/zero. But to get a picture how to start writing a device driver, see
http://www.freeos.com/articles/2677/2/13/ ( Or Goooooooooooooooooooooogle some other information ).

Regards
Frank

#2 lore raw
In reply to blesson paul
Quoted 3 lines · blesson paul
Quoted 2 lines

Hi
I need some more information about /dev/zero. I need to replace the

device

Quoted 1 line
Quoted 1 line

driver of /dev/zero(I do not know whether I can name the program

controlling

Quoted 1 line
Quoted 1 line

the /dev/zero as device driver). How to do the job. If I cannot replace

the

Quoted 1 line
Quoted 1 line

device driver of /dev/zero, how to create a new charecter device and

load my

Quoted 2 lines
Quoted 2 lines

device driver.

Hi,you should read the <<Linux Device Drivers>>,it will surely do good to you.

#3 lore raw
In reply to blesson paul
Quoted 5 lines · blesson paul

I need some more information about /dev/zero. I need to replace the device
driver of /dev/zero(I do not know whether I can name the program controlling the /dev/zero as device driver). How to do the job. If I cannot replace the device driver of /dev/zero, how to create a new charecter device and load my device driver.

I have to ask, WHY? Is this because you want to return a value other
than zero, to to improve the performance of /dev/zero, or just to write a driver (/dev/one could be used ;-).

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.