[RTEMS Project] #4354: Improve Base File System Content Generation

RTEMS trac trac at rtems.org
Tue Mar 23 13:44:10 UTC 2021


#4354: Improve Base File System Content Generation
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  enhancement    |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  fs             |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 In working on #4282 to address a call to mkdir() that was ignoring the
 return value, it was discovered that RTEMS does not have a point during
 system initialization where base file system directories other than /dev
 are created. /etc could be created from multiple places (e.g. pwdgrp.c,
 libbsd, etc.) and each had to assume that mkdir() could return EEXIST.

 /dev is required in all applications which have device drivers but nothing
 else is required so broadly. /etc is required for passwd/group and network
 support files.

 This ticket is to define a system initialization point which creates
 additional file system base contents particularly /etc and possibly other
 directories. The idea was mentioned of a configuration item to specify a
 list of directories with a default set of possibly just /etc.

--
Ticket URL: <http://devel.rtems.org/ticket/4354>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list