All of lore.kernel.org
 help / color / mirror / Atom feed
* vfs functions
@ 2011-01-12  8:13 mohit verma
  2011-01-12  9:33 ` Rajat Sharma
  2011-01-12 11:38 ` prabhu
  0 siblings, 2 replies; 5+ messages in thread
From: mohit verma @ 2011-01-12  8:13 UTC (permalink / raw)
  To: kernelnewbies

hi folks,

i am confused with the functions starting from vfs_ . i  think they show the
significance of VFS model  i  mean if something could be done without
touching the  disk stuff then why not to do that
but i am not quite sure. so please help me understand what does these
actually mean??

thanks in advance guysss

-- 
........................
*MOHIT VERMA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110112/65c8c1aa/attachment-0001.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* vfs functions
  2011-01-12  8:13 vfs functions mohit verma
@ 2011-01-12  9:33 ` Rajat Sharma
  2011-01-12 11:38 ` prabhu
  1 sibling, 0 replies; 5+ messages in thread
From: Rajat Sharma @ 2011-01-12  9:33 UTC (permalink / raw)
  To: kernelnewbies

Mohit its not clear what you are trying to ask. what do you mean by
'something' here?

Rajat

On Wed, Jan 12, 2011 at 1:43 PM, mohit verma <mohit89mlnc@gmail.com> wrote:
> hi folks,
>
> i am confused with the functions starting from vfs_ . i? think they show the
> significance of VFS model? i? mean if something could be done without
> touching the? disk stuff then why not to do that
> but i am not quite sure. so please help me understand what does these
> actually mean??
>
> thanks in advance guysss
>
> --
> ........................
> MOHIT VERMA
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* vfs functions
  2011-01-12  8:13 vfs functions mohit verma
  2011-01-12  9:33 ` Rajat Sharma
@ 2011-01-12 11:38 ` prabhu
  2011-01-12 12:08   ` mohit verma
  1 sibling, 1 reply; 5+ messages in thread
From: prabhu @ 2011-01-12 11:38 UTC (permalink / raw)
  To: kernelnewbies

mohit verma wrote:
> hi folks,
>
> i am confused with the functions starting from vfs_ . i  think they 
> show the significance of VFS model  i  mean if something could be done 
> without touching the  disk stuff then why not to do that
> but i am not quite sure. so please help me understand what does these 
> actually mean??
>
> thanks in advance guysss
>

I am not sure that I understand the above question correctly, you mean 
"what is the use of VFS file system if doing operation without touching the disk . 
That means doing operation on cd rom, keyboard,mouse ?"

VFS is a upper layer of all the filesystem and all the module register its file operation into this layer.
So Whenever you doing operation on any file, VFS layer receive the request and redirect into corresponding 
registered module operation.

I don't think we can do the operation without vfs.

Please correct me if i am wrong.

Thanks ,
Skm prabhu


> ------------------------------------------------------------------------
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110112/b4342aeb/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* vfs functions
  2011-01-12 11:38 ` prabhu
@ 2011-01-12 12:08   ` mohit verma
  2011-01-12 14:48     ` Rajat Sharma
  0 siblings, 1 reply; 5+ messages in thread
From: mohit verma @ 2011-01-12 12:08 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Jan 12, 2011 at 5:08 PM, prabhu <prabhum@msys-tech.com> wrote:

>  mohit verma wrote:
>
> hi folks,
>
> i am confused with the functions starting from vfs_ . i  think they show
> the significance of VFS model  i  mean if something could be done without
> touching the  disk stuff then why not to do that
> but i am not quite sure. so please help me understand what does these
> actually mean??
>
> thanks in advance guysss
>
>
 well by something i mean , that some process needs to access the offset of
file for next read or dup that file discriptor  so why  each time to go for
inode . (check me if i am wrong)

 m sorry for not being clear in textual work.

 but i got it now . thank  u  for  noticing this query.
>
> I am not sure that I understand the above question correctly, you mean "what is the use of VFS file system if doing operation without touching the disk .
> That means doing operation on cd rom, keyboard,mouse ?"
>
> VFS is a upper layer of all the filesystem and all the module register its file operation into this layer.
> So Whenever you doing operation on any file, VFS layer receive the request and redirect into corresponding
> registered module operation.
>
> I don't think we can do the operation without vfs.
>
> Please correct me if i am wrong.
>
> Thanks ,
> Skm prabhu
>
>
>  ------------------------------
>
> _______________________________________________
> Kernelnewbies mailing listKernelnewbies at kernelnewbies.orghttp://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>


-- 
........................
*MOHIT VERMA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110112/0bdde37c/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* vfs functions
  2011-01-12 12:08   ` mohit verma
@ 2011-01-12 14:48     ` Rajat Sharma
  0 siblings, 0 replies; 5+ messages in thread
From: Rajat Sharma @ 2011-01-12 14:48 UTC (permalink / raw)
  To: kernelnewbies

Mohit,

>From your mails it looks to me you are coming very early to post
questions on this list. I would suggest to be little patient and go
through some text books (preferably Understanding Linux Kernel 3rd
Ed.) and try to cover all I/O subsystem related chapters. I am sure
most of your answers you will find reading text only.

> well by something i mean , that some process needs to access the offset of
> file for next read or dup that file discriptor? so why? each time to go for
> inode . (check me if i am wrong)

are you saying that process refers to inode for getting next read
location? If this is the case, then you are wrong. next read/write
location is kept in file object not in inode. file object is like a
session between process opening the file and inode of the file. A
process (or multiple process) can open a file multiple times creating
multiple file objects against a single inode, with each file object
reading/writing different portions of same file.

Rajat

On Wed, Jan 12, 2011 at 5:38 PM, mohit verma <mohit89mlnc@gmail.com> wrote:
>
>
> On Wed, Jan 12, 2011 at 5:08 PM, prabhu <prabhum@msys-tech.com> wrote:
>>
>> mohit verma wrote:
>>
>> hi folks,
>>
>> i am confused with the functions starting from vfs_ . i? think they show
>> the significance of VFS model? i? mean if something could be done without
>> touching the? disk stuff then why not to do that
>> but i am not quite sure. so please help me understand what does these
>> actually mean??
>>
>> thanks in advance guysss
>
> ?well by something i mean , that some process needs to access the offset of
> file for next read or dup that file discriptor? so why? each time to go for
> inode . (check me if i am wrong)
>
> ?m sorry for not being clear in textual work.
>
>> ?but i got it now . thank? u? for? noticing this query.
>>
>> I am not sure that I understand the above question correctly, you mean
>> "what is the use of VFS file system if doing operation without touching
>> the disk .
>> That means doing operation on cd rom, keyboard,mouse ?"
>>
>> VFS is a upper layer of all the filesystem and all the module register its
>> file operation into this layer.
>> So Whenever you doing operation on any file, VFS layer receive the request
>> and redirect into corresponding
>> registered module operation.
>>
>> I don't think we can do the operation without vfs.
>>
>> Please correct me if i am wrong.
>>
>> Thanks ,
>> Skm prabhu
>>
>> ________________________________
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
>
> --
> ........................
> MOHIT VERMA
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-12 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12  8:13 vfs functions mohit verma
2011-01-12  9:33 ` Rajat Sharma
2011-01-12 11:38 ` prabhu
2011-01-12 12:08   ` mohit verma
2011-01-12 14:48     ` Rajat Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.