summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-12 13:44:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-12 13:44:12 +0000
commitd19415873fb6b6197d77916758593c9897a0cb69 (patch)
treefb1e3dd1eb1f4c8d47c262fae6e68500aef79087 /cpukit/libfs/src/imfs/imfs.h
parent2001-01-12 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d19415873fb6b6197d77916758593c9897a0cb69.tar.bz2
2001-01-12 Jake Janovetz <janovetz@uiuc.edu>
* src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/memfile.c, src/imfs/miniimfs_init.c: Final developmental update to "tarfs". When rtems_tarfs_load() is called, it checks the permissions on each file. If there is write permission, it just creates a standard file using "creat()" and therefore, uses the IMFS MEMORY_FILE. If there is no write permission, it creates a LINEAR_FILE node with the appropriate properties. If the permission is ever changed to writeable, IMFS_fchmod converts it to a regular memory file.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs.h')
-rw-r--r--cpukit/libfs/src/imfs/imfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h
index 2b2d84806f..ad18284d93 100644
--- a/cpukit/libfs/src/imfs/imfs.h
+++ b/cpukit/libfs/src/imfs/imfs.h
@@ -130,7 +130,7 @@ typedef struct {
#define IMFS_HARD_LINK RTEMS_FILESYSTEM_HARD_LINK
#define IMFS_SYM_LINK RTEMS_FILESYSTEM_SYM_LINK
#define IMFS_MEMORY_FILE RTEMS_FILESYSTEM_MEMORY_FILE
-#define IMFS_LINEAR_FILE (RTEMS_FILESYSTEM_MEMORY_FILE + 1)
+#define IMFS_LINEAR_FILE (IMFS_MEMORY_FILE + 1)
#define IMFS_NUMBER_OF_TYPES (IMFS_LINEAR_FILE + 1)
@@ -264,7 +264,7 @@ int IMFS_fsunmount(
rtems_filesystem_mount_table_entry_t *mt_entry
);
-int rtems_tarfs_mount(
+int rtems_tarfs_load(
char *mountpoint,
unsigned char *addr,
unsigned long length