In message: <[EMAIL PROTECTED]> Nate Lawson <[EMAIL PROTECTED]> writes: : I am using dev->si_drv1 to store my softc (as are other drivers). What : guarantees do I have about multiple opens/closes not stepping on each : other's toes? How does -stable compare to -current in this regard?
You don't have any guarantees. si_drv1 is for each dev_t. Multiple opens of the same minor device share the same dev_t. Stable and current are exactly the same in this reguard. You cannot easily have the semantics that you want :-( Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message