From eaee27b0b9b9dd243512e10ff8988ec66751474a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 8 Jun 2010 12:59:51 +0000 Subject: 2010-06-08 Sebastian Huber PR 1524/filesystem * libcsupport/src/rtems_mkdir.c: New file. * libcsupport/src/Makefile.am: Reflect change above. * libcsupport/include/rtems/libio.h: Added rtems_mkdir(). * libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c, libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h, libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use rtems_mkdir(). Removed rtems_fsmount_create_mount_point() and rtems_rootfs_mkdir(). --- cpukit/libmisc/fsmount/fsmount.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'cpukit/libmisc/fsmount/fsmount.h') diff --git a/cpukit/libmisc/fsmount/fsmount.h b/cpukit/libmisc/fsmount/fsmount.h index 15597c31ff..94c8508358 100644 --- a/cpukit/libmisc/fsmount/fsmount.h +++ b/cpukit/libmisc/fsmount/fsmount.h @@ -120,16 +120,6 @@ typedef struct { uint16_t abort_reasons; } rtems_fstab_entry; -/** - * Creates the mount point with path @a mount_point. - * - * On success, zero is returned. On error, -1 is returned, and @c errno is set - * appropriately. - * - * @see rtems_fsmount(). - */ -int rtems_fsmount_create_mount_point(const char *mount_point); - /** * Mounts the file systems listed in the file system mount table @a fstab of * size @a size. @@ -137,8 +127,8 @@ int rtems_fsmount_create_mount_point(const char *mount_point); * Each file system will be mounted according to its table entry parameters. * In case of an abort condition the corresponding table index will be reported * in @a abort_index. The pointer @a abort_index may be @c NULL. The mount - * point paths will be created with rtems_fsmount_create_mount_point() and need - * not exist beforehand. + * point paths will be created with rtems_mkdir() and need not exist + * beforehand. * * On success, zero is returned. On error, -1 is returned, and @c errno is set * appropriately. -- cgit v1.2.3