<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
The design is not up to me and I am just developing the code and I need to develop the filter layer to convert the character buf to bio vects. But I am wondering if there is a easy way to do this.<div><br></div><div>thanks,</div><div><br></div><div>yx</div><div><br><br><div>> Date: Tue, 4 Oct 2011 10:46:18 -0700<br>> From: greg@kroah.com<br>> To: pointyx@live.com<br>> CC: kernelnewbies@kernelnewbies.org<br>> Subject: Re: How to open and write to a block driver within a character driver?<br>> <br>> On Tue, Oct 04, 2011 at 10:42:15AM -0700, Yang Xiang wrote:<br>> > I am taksed to develop a Block device driver which will be used within a<br>> > character device driver so the write to the character driver will be also<br>> > formatted, converted and duplicated to the block drvice.<br>> <br>> Why? That really makes no sense. Please explain what type of problem<br>> you are trying to solve with this design?<br>> <br>> greg k-h<br></div></div>                                            </div></body>
</html>