diff options
author | Jean-Pierre André <jpandre@users.sourceforge.net> | 2013-05-12 09:57:21 +0200 |
---|---|---|
committer | Jean-Pierre André <jpandre@users.sourceforge.net> | 2013-05-12 09:57:21 +0200 |
commit | d129232a28be863def908571fde28f4a3a0bb9bf (patch) | |
tree | 6cc22d7ccba5c77f7bca2db692b78774e9c29e34 | |
parent | 4c8fece06529e0bc7a5a86ee0cafa66e6c902a8f (diff) | |
download | illumos-fusefs-d129232a28be863def908571fde28f4a3a0bb9bf.tar.gz |
Logged the version and location when starting
-rw-r--r-- | kernel/fuse_ini.c | 7 | ||||
-rw-r--r-- | kernel/fuse_kernel.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/kernel/fuse_ini.c b/kernel/fuse_ini.c index df91184..34399d7 100644 --- a/kernel/fuse_ini.c +++ b/kernel/fuse_ini.c @@ -42,9 +42,10 @@ #include <sys/sunddi.h> /* used by all entry points for this driver */ /* also used by cb_ops, ddi_create_minor_node, */ /* ddi_get_instance, and ddi_prop_op */ - +#include <sys/cmn_err.h> #include <sys/atomic.h> /* used for debugging, added atomic counter */ +#include "fuse_kernel.h" extern struct modldrv fuse_dev_drv_modldrv; extern struct modlfs fuse_vfs_modldrv; @@ -68,6 +69,10 @@ _init(void) { int rv; + cmn_err(CE_CONT,"Fuse kernel %s interface %d.%d\n", FUSE_SOLARIS_VERSION, + FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION); + cmn_err(CE_CONT,"Fuse kernel init at 0x%lx, modldrv at 0x%lx\n", + (long)_init,(long)&fuse_dev_drv_modldrv); fuse_global_init(); if ((rv = mod_install(&ml)) != 0) { fuse_global_fini(); diff --git a/kernel/fuse_kernel.h b/kernel/fuse_kernel.h index a7aafa8..56ea157 100644 --- a/kernel/fuse_kernel.h +++ b/kernel/fuse_kernel.h @@ -46,6 +46,8 @@ #include <linux/major.h> #endif +#define FUSE_SOLARIS_VERSION "1.1AR.2" + /** Version number of this interface */ #define FUSE_KERNEL_VERSION 7 |