fs – RFS file system module
drivers - XSR block device driver module
tools - Utilities to manipulate RFS
scripts- RFS Package Installation scripts
Include – includes header files
2.2.2 Source Files List
This section gives short description of source files listed in the ‘rfs’ and ‘xsr’ directory.
The source files in this package are listed in
Figure 2-2, where *.c files and *.h files are
annotated on the ‘RFS’ source tree. Sample LLD code of OneNAND is tested with Apollon
customized board based on OMAP2420 core. You need to write your own code for other chipset.
$(RFS_TOP_DIR) fs
drivers
include
rfs
xsr core
PAM
OAM
LLD
linux
dir.c, dos.c, file.c, inode.c, inode_24.c, inode_26.c,
namei.c, super.c, fcache.c, cluster.c, code_convert.c,
log.c, log.h, log_replay.c, rfs_24.c, rfs_26.c
rfs_fs.h
rfs_fs_i.h
rfs_fs_sb.h
txsr
Figure 2-2 Linux RFS Source Files (Annotated on the Source Tree)
Here are brief descriptions about *.c files.
$(RFS_TOP_DIR)/fs/rfs: FAT and logging for reliability
• fcache.c: FAT cache & FAT entry handling functions
• cluster.c: FAT cluster & FAT table handling functions
• code_convert.c: Dos name and Unicode name handling operations
• dir.c: Directory handling functions
• dos.c: FAT directory entry Manipulation and management operations
• file.c: File and file inode functions
• inode.c: Common inode operations
• inode_24.c: Kernel version 2.4 specific inode functions
• inode_26.c: Kernel version 2.6 specific inode functions
• log.c: Functions for logging
• log_replay.c: Functions for replaying log
• namei.c: Adaptation layer between the VFS and RFS file system for inode operations
• rfs_24.c: Kernel version 2.4 specific functions
• rfs_26.c: Kernel version 2.6 specific functions
• super.c: Super block and init functions
$(RFS_TOP_DIR)/drives/xsr: NAND block device driver for RFS
$(RFS_TOP_DIR)/tools/: Tools to manipulate RFS/XSR
5 Linux RFS v1.3.0 Porting Guide