LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2014, 07:08 AM   #1
vinayak099
Member
 
Registered: Jan 2014
Posts: 31

Rep: Reputation: Disabled
how ext2/3/4 communicates with disk/flash device to write data and read.


Hi,

I am trying to understand ext2/3/4 code. But I am confused how the data is read/written to disk. Not able to understand which call it is making to read/write to the disk.

Can anyone please explain/guide me the same (where the files or present etc)

I am not able to understand what operations it is doing.
 
Old 01-28-2014, 01:45 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
I think you would benefit quite a bit from reading "Understanding The Linux Kernel" (version 3 or up?) as it explains everything from gory block level details up to optimized, combined read / write ops by the kernels VFS layer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In linux platform how to use ioctl function to read/write data to hid device zyroot998 Linux - Software 3 06-28-2011 11:06 PM
why does sync() write an ext2 disk, even if no activity? adrian_stephens Linux - Desktop 9 06-17-2011 03:52 PM
Read write ext2/3 in windows 7 Christian271 General 14 06-01-2010 04:54 PM


All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration