DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/dev/drum versus libkvm?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 10 Apr 2005 13:53:55 -0700

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?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]