LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   the fat filesytem module location? (https://www.linuxquestions.org/questions/linux-newbie-8/the-fat-filesytem-module-location-153475/)

ramya272 03-04-2004 11:52 AM

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?

urka58 03-04-2004 01:56 PM

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

Falco 03-04-2004 03:13 PM

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.

ramya272 03-05-2004 07:13 AM

thanx....what is

| grep fat

didnt get that?????

aaa 03-05-2004 07:51 AM

'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.

ramya272 03-05-2004 07:57 AM

thanx...
is ./ used to compile ?

ramya272 03-05-2004 07:58 AM

when i tried ./fat....
the error..."module written for another version"
was displayed

aaa 03-05-2004 07:59 AM

'.' 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'.

ramya272 03-05-2004 08:00 AM

i tried...
./ config
same error

ramya272 03-05-2004 08:05 AM

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?


All times are GMT -5. The time now is 09:05 AM.