diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-17 18:30:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-17 18:30:03 +0000 |
commit | ae307352678a0b2e2f7cf93c21793f4b407ee369 (patch) | |
tree | 78277ea6dd0e8a1365cf5f40d4c3ae77663351ac /c/src/libmisc/rootfs/mkrootfs.h | |
parent | 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-ae307352678a0b2e2f7cf93c21793f4b407ee369.tar.bz2 |
2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rootfs/.cvsignore: Remove.
* rootfs/Makefile.am: Remove.
* rootfs/mkrootfs.h: Remove.
* rootfs/mkrootfs.c: Remove.
* configure.ac: Remove rootfs and NETWORKING macros.
* wrapup/Makefile.am: Remove rootfs and HAS_NETWORKING.
Diffstat (limited to '')
-rw-r--r-- | c/src/libmisc/rootfs/mkrootfs.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/c/src/libmisc/rootfs/mkrootfs.h b/c/src/libmisc/rootfs/mkrootfs.h deleted file mode 100644 index 919f172ebf..0000000000 --- a/c/src/libmisc/rootfs/mkrootfs.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - ------------------------------------------------------------------------ - $Id$ - ------------------------------------------------------------------------ - - Copyright Cybertec Pty Ltd, 2000 - All rights reserved Cybertec Pty Ltd, 2000 - - COPYRIGHT (c) 1989-1998. - On-Line Applications Research Corporation (OAR). - - The license and distribution terms for this file may be - found in the file LICENSE in this distribution or at - - http://www.OARcorp.com/rtems/license.html. - - This software with is provided ``as is'' and with NO WARRANTY. - - ------------------------------------------------------------------------ - - RTEMS Root FS creatation support. - -*/ - -#ifndef __RTEMS_MKROOTFS_h -#define __RTEMS_MKROOTFS_h - -#include <rtems.h> - -/* - * Builds the complete path, like "mkdir -p". - */ - -int -rtems_rootfs_mkdir (const char *path, mode_t omode); - -/* - * Appends the lines to the a file. Create the file - * and builds the path if it does not exist. - */ - -int -rtems_rootfs_file_append (const char *file, - mode_t omode, - const int line_cnt, - const char **lines); - -/* - * Helper for bulding an /etc/hosts file. - */ - -int -rtems_rootfs_append_host_rec (unsigned long cip, - const char *cname, - const char *dname); - -/* - * Create a few common directories, plus a : - * /etc/passwd, /etc/group, /etc/host.conf, and - * /etc/hosts file. - */ - -int -rtems_create_root_fs (); - -#endif |