[PATCH] libcsupport: Add no_reg_make_node as a mount option to the mount table
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jan 25 16:01:37 UTC 2021
On 25/01/2021 02:10, chrisj at rtems.org wrote:
> From: Chris Johns<chrisj at rtems.org>
>
> - Add the bool flag no_reg_make_mode 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_reg_make_node directly.
I think this workaround is all right if it helps you to more easily use
the FreeBSD file system layer. In the long run we should keep only one
approach.
I would rename no_reg_make_node in no_regular_file_mknod.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list