Skip to contentSkip to conversation

do_kern_mount (EXPLANATION REQUIRED)

DISCUSSION UZAIR LAKHANI 2 participants 2 messages May 2, 2006 – May 3, 2006 VFS

lore
Share & tools
lore
#0 lore raw

Hello All,

I want to find out this question. Is the function
do_kern_mount
equivalent for the mount command

i.e. is do_kern_mount exactly equals

mount -t fs_type device mnt_point

Additionally what is the purpose of this function (do_kern_mount). How
this function gets the device name. Where will be the mount point etc. Some details will be helpful.

Signature · 6 lines
Uzair Mehdi Lakhani

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
#1 lore raw
Quoted 6 lines · UZAIR LAKHANI

Hello All,

I want to find out this question. Is the function
do_kern_mount
equivalent for the mount command

Quoted 8 lines

i.e. is do_kern_mount exactly equals

mount -t fs_type device mnt_point

Additionally what is the purpose of this function (do_kern_mount). How
this function gets the device name. Where will be the mount point etc. Some details will be helpful.

Just read the source ;-). Entry point for mount is sys_mount, so start from there...

Signature · 1 line
						 Jan 'Bulb' Hudec <[email protected]>