From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Re: do_kern_mount (EXPLANATION REQUIRED) Date: Wed, 3 May 2006 08:08:02 +0200 Message-ID: <20060503060802.GB10036@djinn> References: <20060502165126.63680.qmail@web37902.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from cimice0.lam.cz ([212.71.168.90]:3462 "EHLO cimice.yo.cz") by vger.kernel.org with ESMTP id S965098AbWECGIF (ORCPT ); Wed, 3 May 2006 02:08:05 -0400 To: UZAIR LAKHANI Content-Disposition: inline In-Reply-To: <20060502165126.63680.qmail@web37902.mail.mud.yahoo.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 02, 2006 at 09:51:26 -0700, UZAIR LAKHANI wrote: > Hello All, >=20 > I want to find out this question. Is the function > do_kern_mount > equivalent for the mount command >=20 > i.e. is do_kern_mount exactly equals >=20 > mount -t fs_type device mnt_point >=20 > 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 =66rom there... --=20 Jan 'Bulb' Hudec --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEWEjBRel1vVwhjGURApPQAJ9urARCKFmaRnqsAGwwhUh5Gb9oIgCeKOg4 XG40+Ux8qz8+/X4za7l7QWg= =KKkh -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB--