summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs_debug.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-13 17:53:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-13 17:53:55 +0000
commit0ef748fb45137bac811ded19dfad2034f924505a (patch)
tree781c137a2c5303c3ad851c5982c2641fedc45bbf /cpukit/libfs/src/imfs/imfs_debug.c
parent2000-12-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-0ef748fb45137bac811ded19dfad2034f924505a.tar.bz2
2000-12-12 Jake Janovetz <janovetz@uiuc.edu>
* src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files. * src/imfs/Makefile.am, src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs". This is not really a tar filesystem. It is a way to load a tar image into the IMFS but actually leave bulky file contents in the original tar image. It essentially adds the linear file type and associated support and a loader routine.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_debug.c')
-rw-r--r--cpukit/libfs/src/imfs/imfs_debug.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_debug.c b/cpukit/libfs/src/imfs/imfs_debug.c
index 42d19abddf..89e1bc91ce 100644
--- a/cpukit/libfs/src/imfs/imfs_debug.c
+++ b/cpukit/libfs/src/imfs/imfs_debug.c
@@ -34,7 +34,8 @@ char *IMFS_types[ IMFS_NUMBER_OF_TYPES ] = {
"directory",
"device",
"link",
- "memory file"
+ "memory file",
+ "linear file"
};
/*
@@ -60,6 +61,13 @@ void IMFS_print_jnode(
the_jnode->info.device.major, the_jnode->info.device.minor );
break;
+ case IMFS_LINEAR_FILE:
+ printf( " (file %d %p)",
+ (int)the_jnode->info.linearfile.size,
+ the_jnode->info.linearfile.direct
+ );
+ break;
+
case IMFS_MEMORY_FILE:
printf( " (file %d %p %p %p)",
(int)the_jnode->info.file.size,