[RTEMS Project] #4222: Add a per mount flag to not create a node on O_CREAT in open

RTEMS trac trac at rtems.org
Mon Feb 8 02:12:50 UTC 2021


#4222: Add a per mount flag to not create a node on O_CREAT in open
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.1
Component:  fs           |     Version:  6
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------
Changes (by Chris Johns <chrisj@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"822cad8967e130b3769f719502cbd6db81e3efea/rtems"
 822cad89/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="822cad8967e130b3769f719502cbd6db81e3efea"
 libcsupport: Add no_regular_file_mknod as a mount option to the mount
 table

 - Add the bool flag no_regular_file_mknod to the mount table so a file
   system can indicate creating regular files is not done by
   use the mknod handler. The file system will handle creating a
   file node in the open handler.

 - Note, the mount option is an enum which means there is only one
   exclusive option supported. As a result no encapsulation is
   provided and file systems need to set no_regular_file_mknod directly.

 Closes #4222
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4222#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list