* filesystem in the kernel
@ 2004-11-25 6:34 Bakki Srinivas
2004-11-25 9:36 ` Senthil Nathan V
2004-11-25 10:44 ` Jan-Benedict Glaw
0 siblings, 2 replies; 4+ messages in thread
From: Bakki Srinivas @ 2004-11-25 6:34 UTC (permalink / raw)
To: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
hi,
when a filesystem is registered with the kernel eg.
register_filesystem(&ext2_fs_type);
where is the structure ext2_fs_type declared ?
Thanks with Regards
Srinivas Bakki
[-- Attachment #2: disclaimer.txt --]
[-- Type: text/plain, Size: 1091 bytes --]
-----------------------------------------------------------------------------------------------------------------------------
Disclaimer
-----------------------------------------------------------------------------------------------------------------------------
"This message(including attachment if any)is confidential and may be privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission."
-----------------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: filesystem in the kernel
2004-11-25 6:34 filesystem in the kernel Bakki Srinivas
@ 2004-11-25 9:36 ` Senthil Nathan V
2004-11-25 10:44 ` Jan-Benedict Glaw
1 sibling, 0 replies; 4+ messages in thread
From: Senthil Nathan V @ 2004-11-25 9:36 UTC (permalink / raw)
To: linux-c-programming
On Thu, 25 Nov 2004 12:04:31 +0530, Bakki Srinivas
<bakki_srinivas@mindtree.com> wrote:
> hi,
> when a filesystem is registered with the kernel eg.
> register_filesystem(&ext2_fs_type);
> where is the structure ext2_fs_type declared ?
>
ext2_fs_type is variable of type "struct file_system_type"
Refer to the source code in /usr/src/lyour_linux_kernel_dir/
include/linux/fs.h
--
regards,
Senthil Nathan V
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: filesystem in the kernel
2004-11-25 6:34 filesystem in the kernel Bakki Srinivas
2004-11-25 9:36 ` Senthil Nathan V
@ 2004-11-25 10:44 ` Jan-Benedict Glaw
1 sibling, 0 replies; 4+ messages in thread
From: Jan-Benedict Glaw @ 2004-11-25 10:44 UTC (permalink / raw)
To: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
On Thu, 2004-11-25 12:04:31 +0530, Bakki Srinivas <bakki_srinivas@mindtree.com>
wrote in message <5959EA4638D8734599AB75EAAFBB6FEFA471E6@mtv01ex04.mindtree.com>:
> hi,
> when a filesystem is registered with the kernel eg.
> register_filesystem(&ext2_fs_type);
> where is the structure ext2_fs_type declared ?
ext2_fs_type is defined in ./linux/fs/ext2/super.c, about 15 lines
above the code that registeres it :-)
ext2_fs_type itself is a "struct file_system_type", which is declared
in ./linux/include/linux/fs.h
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: filesystem in the kernel
@ 2004-11-25 12:16 Bakki Srinivas
0 siblings, 0 replies; 4+ messages in thread
From: Bakki Srinivas @ 2004-11-25 12:16 UTC (permalink / raw)
To: sumit kalra; +Cc: linux-c-programming
[-- Attachment #1: Type: text/plain, Size: 2213 bytes --]
Thanks.
Regards
Srinivas
-----Original Message-----
From: sumit kalra [mailto:i_am_sumit_kalra@yahoo.com]
Sent: Thursday, November 25, 2004 5:45 PM
To: Bakki Srinivas
Cc: linux-c-programming@vger.kernel.org
Subject: Re: filesystem in the kernel
Hi,
ext2_fs_type is declared using the macro
DECLARE_FSTYPE_DEV. This macro eventually
expands to declaring ext2_fs_type as an instance of
struct file_system_type and initializes its members.
Look at this macros in include/linux/fs.h
Regards,
Sumit
-------------------------------------
--- Bakki Srinivas <bakki_srinivas@mindtree.com>
wrote:
> hi,
> when a filesystem is registered with the kernel
> eg.
> register_filesystem(&ext2_fs_type);
> where is the structure ext2_fs_type declared ?
>
> Thanks with Regards
> Srinivas Bakki
> >
-----------------------------------------------------------------------------
------------------------------------------------
> Disclaimer
>
-----------------------------------------------------------------------------
------------------------------------------------
>
> "This message(including attachment if any)is
> confidential and may be privileged.Before opening
> attachments please check them
> for viruses and defects.MindTree Consulting Private
> Limited (MindTree)will not be responsible for any
> viruses or defects or
> any forwarded attachments emanating either from
> within MindTree or outside.If you have received this
> message by mistake please notify the sender by
> return e-mail and delete this message from your
> system. Any unauthorized use or dissemination of
> this message in whole or in part is strictly
> prohibited. Please note that e-mails are
> susceptible to change and MindTree shall not be
> liable for any improper, untimely or incomplete
> transmission."
>
>
-----------------------------------------------------------------------------
------------------------------------------------
___________________________________________________________
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail
to make your dream a reality.
Get Yahoo! Mail www.yahoo.co.uk/10k
[-- Attachment #2: disclaimer.txt --]
[-- Type: text/plain, Size: 1091 bytes --]
-----------------------------------------------------------------------------------------------------------------------------
Disclaimer
-----------------------------------------------------------------------------------------------------------------------------
"This message(including attachment if any)is confidential and may be privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission."
-----------------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-25 12:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25 6:34 filesystem in the kernel Bakki Srinivas
2004-11-25 9:36 ` Senthil Nathan V
2004-11-25 10:44 ` Jan-Benedict Glaw
-- strict thread matches above, loose matches on Subject: below --
2004-11-25 12:16 Bakki Srinivas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).