I'm writing a new filesystem driver for ntfs. Here is an excerpt:

static const fs_operation_def_t ntfs_vfsops_template[] = {
                VFSNAME_MOUNT, ntfs_mount,
                VFSNAME_UNMOUNT, ntfs_unmount,
                NULL, NULL
        };
        int error;

        //Initialize vfs ops table
        error = vfs_setfsops(fstyp, ntfs_vfsops_template, NULL);

Note that I'm not initializing the vnode ops template yet. I'm able to load the driver as a kernel module. But, when I do a mount
mount -F ntfs /dev/*** /mnt/ntfs

 

it gives me this error:

mount: Operation not applicable to FSType ntfs

which clearly means that the OS is not registering ntfs as a filesystem module. What is it that I'm doing wrong here?

Regards
Manish
_______________________________________________
ufs-discuss mailing list
[email protected]

Reply via email to