diff options
author | Chris Johns <chrisj@rtems.org> | 2021-01-25 12:03:06 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2021-02-08 13:10:37 +1100 |
commit | 822cad8967e130b3769f719502cbd6db81e3efea (patch) | |
tree | 6bdf3a09b63910a18c407a4c612db2d81ab8c096 /cpukit/include | |
parent | bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader (diff) | |
download | rtems-822cad8967e130b3769f719502cbd6db81e3efea.tar.bz2 |
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
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/libio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/include/rtems/libio.h b/cpukit/include/rtems/libio.h index 18141c3d3c..519e797dba 100644 --- a/cpukit/include/rtems/libio.h +++ b/cpukit/include/rtems/libio.h @@ -1613,6 +1613,7 @@ struct rtems_filesystem_mount_table_entry_tt { rtems_filesystem_global_location_t *mt_fs_root; bool mounted; bool writeable; + bool no_regular_file_mknod; const rtems_filesystem_limits_and_options_t *pathconf_limits_and_options; /* |