Skip to contentSkip to conversation

Passing mount parameters into the fs

DISCUSSION Charles Manning 3 participants 3 messages Nov 14, 2006 VFS

lore
Share & tools
lore
#0 lore raw

Is it possible to pass mount parameters into the fs?

If so, any examples of how to do that?

Thanx

-- CHarles

#1 lore raw
Quoted 7 lines · Charles Manning

Is it possible to pass mount parameters into the fs?

If so, any examples of how to do that?

Thanx

-- CHarles

Yes there is. You can see an example in ext2's parse_options() function (fs/ext2/super.c). It basically uses the code in lib/parser.c.

Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/

#2 lore raw
In reply to Charles Manning

Hi Charles,

Quoted 3 lines · Charles Manning

Is it possible to pass mount parameters into the fs?

If so, any examples of how to do that?

/usr/src/linux/Documentation/filesystems/vfs.txt

they are passed into your filesystem's get_sb

-Ben