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? |
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 |
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. |
thanx....what is
| grep fat didnt get that????? |
'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.
|
thanx...
is ./ used to compile ? |
when i tried ./fat....
the error..."module written for another version" was displayed |
'.' 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'.
|
i tried...
./ config same error |
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. |