On 30/03/2020 15:35, Joel Sherrill wrote:

    What about the

    CONFIGURE_FILESYSTEM_ENTRY_DEVFS
    CONFIGURE_FILESYSTEM_ENTRY_DOSFS
    CONFIGURE_FILESYSTEM_ENTRY_FTPFS
    CONFIGURE_FILESYSTEM_ENTRY_IMFS
    CONFIGURE_FILESYSTEM_ENTRY_JFFS2
    CONFIGURE_FILESYSTEM_ENTRY_NFS
    CONFIGURE_FILESYSTEM_ENTRY_RFS
    CONFIGURE_FILESYSTEM_ENTRY_TFTPFS

    configuration options? Is this really something a user should be
    able to
    define?


Chris will likely chime in later but I believe these are needed so that
filesystem type is listed in the set of mountable filesystems.  The mount
command depends on those settings.

Yes, it depends on the settings, but the CONFIGURE_FILESYSTEM_ENTRY_* options give you an extra level of control. For example, you can enable the RFS with:

#define CONFIGURE_FILESYSTEM_ENTRY_RFS

Optionally, you can fine tune the entry:

#if defined(CONFIGURE_FILESYSTEM_RFS) \
  && !defined(CONFIGURE_FILESYSTEM_ENTRY_RFS)
  #define CONFIGURE_FILESYSTEM_ENTRY_RFS \
    { RTEMS_FILESYSTEM_TYPE_RFS, rtems_rfs_rtems_initialise }
#endif

I am not sure if this fine tuning is really necessary.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to