Re: [patch] turning devctl into a "multiple openable" device

看板FB_current作者時間14年前 (2011/12/02 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/12 (看更多)
On Wednesday, November 30, 2011 11:41:25 am Hans Petter Selasky wrote: > On Wednesday 30 November 2011 13:43:20 Baptiste Daroussin wrote: > > Hi all, > > > > With the help of cognet, I wrote a patch to turn devctl into a multiple > > openable device, that mean that it will allow to open /dev/devctl in > > multiple programs, for example hald and everythings that want to receive > > notification from the device won't need to depend on haveing devd running. > > > > here is the patch: > > http://people.freebsd.org/~bapt/devctl_multi_open.diff > > > > regards, > > bapt > > Comment: > > Is the track-close flag set for the devfs sw? Not, it uses the far-superior devfs_set_cdevpriv(). -- John Baldwin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Ery3Y4I (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 10 之 12 篇):
文章代碼(AID): #1Ery3Y4I (FB_current)