Esempio n. 1
0
File: nfs.c Progetto: ColdCanuck/zfs
/**
 * Initializes the NFS functionality of libshare.
 */
void
libshare_nfs_init(void)
{
	nfs_fstype = register_fstype("nfs", &nfs_shareops);
}
Esempio n. 2
0
File: smb.c Progetto: GeLiXin/zfs
/*
 * Initializes the SMB functionality of libshare.
 */
void
libshare_smb_init(void)
{
	smb_fstype = register_fstype("smb", &smb_shareops);
}
Esempio n. 3
0
void init_rootfs()
{
    struct fs_type rootfs_fs_type = {"rootfs", &rootfs_vfs_ops};
    register_fstype(FSTYPE_ROOTFS, &rootfs_fs_type);
}