summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:46:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:46:02 +0000
commitc891fe082e239cc8e4505590fa773833ab418f5a (patch)
tree02125fe367715692ffef646e267412c1d2160b43 /c/src/lib/libc
parent2001-05-25 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-c891fe082e239cc8e4505590fa773833ab418f5a.tar.bz2
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* libc/base_fs.c: Deleted chmod() now that IMFS creates the root node with the desired permissions. chmod() is also not supported by the miniIMFS so this is not allowable.
Diffstat (limited to 'c/src/lib/libc')
-rw-r--r--c/src/lib/libc/base_fs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libc/base_fs.c b/c/src/lib/libc/base_fs.c
index 7470b52295..119f38d794 100644
--- a/c/src/lib/libc/base_fs.c
+++ b/c/src/lib/libc/base_fs.c
@@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void )
*
* If the mkdir() fails, we can't print anything so just fatal error.
*
- * NOTE: UNIX root is 755 and owned by root/root (0/0).
+ * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually
+ * created that way by the IMFS.
*/
- status=chmod("/", 0755);
- if ( status != 0 )
- rtems_fatal_error_occurred( 0xABCD0003 );
status = mkdir( "/dev", 0777);
if ( status != 0 )