39 |
|
#include <sys/vfs.h> |
40 |
|
#include <mntent.h> |
41 |
|
#include "tools.h" |
42 |
< |
#define VALID_FS_TYPES {"ext2", "ext3", "xfs", "reiserfs", "vfat", "tmpfs"} |
42 |
> |
#define VALID_FS_TYPES {"adfs", "affs", "befs", "bfs", "efs", "ext2", \ |
43 |
> |
"ext3", "vxfs", "hfs", "hfsplus", "hpfs", "jffs", \ |
44 |
> |
"jffs2", "minix", "msdos", "ntfs", "qnx4", "ramfs", \ |
45 |
> |
"rootfs", "reiserfs", "sysv", "v7", "udf", "ufs", \ |
46 |
> |
"umsdos", "vfat", "xfs", "jfs"} |
47 |
|
#endif |
48 |
|
|
49 |
|
#ifdef ALLBSD |
351 |
|
#ifdef FREEBSD |
352 |
|
if (!stats_init) { |
353 |
|
stats.dinfo=malloc(sizeof(struct devinfo)); |
350 |
– |
bzero(stats.dinfo, sizeof(struct devinfo)); |
354 |
|
if(stats.dinfo==NULL) return NULL; |
355 |
+ |
bzero(stats.dinfo, sizeof(struct devinfo)); |
356 |
|
stats_init = 1; |
357 |
|
} |
358 |
|
#ifdef FREEBSD5 |