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