/dev/drum versus libkvm?

看板DFBSD_bugs作者時間21年前 (2005/04/11 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
I notice that libkvm uses some values defined in <sys/paths.h> but one of those paths doesn't exist in DragonFly: #define __SYS_PATH_DRUM "/dev/drum" I'm trying to fix a broken FBSD port which does a kvm_open() before trying to read the swap usage, and I'm thinking maybe this is the reason for the breakage. (It's broken on FBSD also and has been for a long time.) I notice that pstat uses kvm_openfiles instead. Would that be a reasonable approach to fixing my broken port? BTW, is libkinfo eventually going to absorb the functions of libkvm?
文章代碼(AID): #12MPGK00 (DFBSD_bugs)
文章代碼(AID): #12MPGK00 (DFBSD_bugs)