On Mon, Mar 8, 2010 at 9:33 AM, Ashwani Raina <ashwani.ra...@gmail.com> wrote: > Hi folks, > > I am currently using LDI interfaces to create pseudo devices over a block > device. > For the same, I have one driver file and one configuration file. > > Now, I need to support more than one block devices at a time. > By that I mean to say, I should be able to create multiple pseudo devices on > multiple target devices mentioned in .conf file. > Not sure how to do that. Adding extra entry in .conf file is not working. > May I am doing something wrong. > > Here is my .conf file content: > ==== > name="lyr" parent="pseudo" instance=1; > lyr_targ="/dev/dsk/c7d1s2"; > ====
You probably want to have more instances. i.e. name="lyr" parent="pseudo" instance=1 lyr_targ="/dev/dsk/c7d1s2"; name="lyr" parent="pseudo" instance=1 lyr_targ="/dev/dsk/c8d1s2"; alternatively you may create more instances dynamically from the driver itself (that is what I would do, by the way) -- Regards, Cyril _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss