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 03-04-2004, 11:52 AM   #1
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Rep: Reputation: 15
the fat filesytem module location?


cud some1 plz tell me whether the right location to find the fat filesystem module (c code) is

/usr/src/linux-version no/fs/fat

or elsewhere...

it is this code that is compiled to get the fat.o that recognizes fat filesystems rite?
 
Old 03-04-2004, 01:56 PM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 32
Not sure I fully undersatnd your question, anyway first you must be sure you have your "vfat module" compliled as module by
lsmod
this tells you whatever modules you have on your system and some extra informations
than if present in that list you should check in /lib/modules/2.x.x/kernel/fs.
If it has been compiled as module it should be there.
Hope this helps
Ciao
 
Old 03-04-2004, 03:13 PM   #3
Falco
LQ Newbie
 
Registered: Feb 2004
Distribution: slackware,mandrake,suse
Posts: 9

Rep: Reputation: 0
cd /usr/src/linux or cd /lib/modules/$(uname -r)/build
find | grep fat
./fs/fat
./fs/fat/Makefile
./fs/fat/dir.c
./fs/fat/cvf.c
./fs/fat/file.c
./fs/fat/misc.c
./fs/fat/buffer.c
./fs/fat/fatfs_syms.c
./fs/fat/cache.c
./fs/fat/inode.c
./fs/vfat
./fs/vfat/Makefile
./fs/vfat/vfatfs_syms.c
./fs/vfat/namei.c
./Documentation/filesystems/vfat.txt
./Documentation/filesystems/fat_cvf.txt
./include/linux/fat_cvf.h
./include/config/fat
./include/config/fat/fs.h
./include/config/vfat
./include/config/vfat/fs.h

that's all.
 
Old 03-05-2004, 07:13 AM   #4
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Original Poster
Rep: Reputation: 15
thanx....what is

| grep fat

didnt get that?????
 
Old 03-05-2004, 07:51 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
'grep' looks for strings of text (like "fat"). He did 'find', which went through all the files, piped 'find' 's output in to 'grep', and 'grep' showed all the lines with 'fat' in them.
 
Old 03-05-2004, 07:57 AM   #6
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Original Poster
Rep: Reputation: 15
thanx...
is ./ used to compile ?
 
Old 03-05-2004, 07:58 AM   #7
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Original Poster
Rep: Reputation: 15
when i tried ./fat....
the error..."module written for another version"
was displayed
 
Old 03-05-2004, 07:59 AM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
'.' is the directory you're in. '..' is the directory just above you. If you cd'd to '/usr/src', './linux' is the same as '/usr/src/linux'. '../src' is the same as '/usr/src'. If you had a shell script called 'configure' in /usr/src, './configure' would be the same as '/usr/src/configure'.
 
Old 03-05-2004, 08:00 AM   #9
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Original Poster
Rep: Reputation: 15
i tried...
./ config
same error
 
Old 03-05-2004, 08:05 AM   #10
ramya272
Member
 
Registered: Feb 2004
Posts: 41

Original Poster
Rep: Reputation: 15
thanx....i would like to understand what the code in side those .c files actually do...the comments and general documentation are not enough...
where can i get help?
 
  


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
Module Location Problem megadeth Linux - Hardware 2 04-24-2005 10:43 PM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
I have to build , load and compile a FAT fs module into the kernel.wat should i do? ramya272 Linux - Newbie 2 02-06-2004 09:46 AM
Which filesytem is better Mojojo Linux - General 6 06-14-2003 02:17 AM
GUI parted, Filesytem errors.. Help!! boreo Linux - General 1 03-08-2003 12:51 AM


All times are GMT -5. The time now is 12:33 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