[PATCH] libcsupport: Add no_reg_make_node as a mount option to the mount table
Gedare Bloom
gedare at rtems.org
Tue Jan 26 15:43:53 UTC 2021
On Mon, Jan 25, 2021 at 9:02 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> 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.
>
> +1 on the name, I had no clue what it meant.
> --
> 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/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210126/35d9a7bc/attachment.html>
More information about the devel
mailing list