SysTutorials

Linux Manual Pages › Section 9

sget(9)

sget - find or create a superblock

Synopsis

struct super_block *sget(struct file_system_type *type, int (*test)(struct super_block *, void *), int (*set)(struct super_block *, void *), int flags, void *data);

Arguments

type

filesystem type superblock should belong to

test

comparison callback

set

setup callback

flags

mount flags

data

argument to each of them

Copyright