Changeset eaee27b in rtems for cpukit/libblock


Ignore:
Timestamp:
06/08/10 12:59:51 (14 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
b81c8a69
Parents:
241f4c96
Message:

2010-06-08 Sebastian Huber <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().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/bdpart-mount.c

    r241f4c96 reaee27b  
    3030#include <rtems.h>
    3131#include <rtems/bdpart.h>
    32 #include <rtems/fsmount.h>
     32#include <rtems/libio.h>
    3333
    3434rtems_status_code rtems_bdpart_mount(
     
    9191    /* Create mount point */
    9292    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
    93     rv = rtems_fsmount_create_mount_point( mount_point);
     93    rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
    9494    if (rv != 0) {
    9595      esc = RTEMS_IO_ERROR;
Note: See TracChangeset for help on using the changeset viewer.