how to write a block driver

View: New views
2 Messages — Rating Filter:   Alert me  

how to write a block driver

by cooper-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are a lot of examples about how to write a charactor device, I
didn't find one about block device( or in moden word, a disk device? )
Is there a tutorial about it?
_______________________________________________
freebsd-drivers@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@..."

Re: how to write a block driver

by Carlos A. M. dos Santos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/6/10 cooper <bo.coopci@...>:
> There are a lot of examples about how to write a charactor device, I
> didn't find one about block device( or in moden word, a disk device? )
> Is there a tutorial about it?

There are no block devices in FreeBSD since a long time ago:

http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html


--
My preferred quotation of Robert Louis Stevenson is "You cannot
make an omelette without breaking eggs". Not because I like the
omelettes, but because I like the sound of eggs being broken.
_______________________________________________
freebsd-drivers@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@..."