On Wed, Jun 07, 2017 at 08:32:26AM +0200, Silvan Jegen wrote: > On Tue, Jun 6, 2017 at 8:55 PM, Rendov Norra <tsobf...@gmail.com> wrote: > > Reading the source code, it seems that error represents any failure > > from mount(). It seems overlayfs wasn't compiled with my kernel. > > Having better error handling that either takes into account all of the > errors returned by mount (2) or passes them on would be nice. > > In your case the mount call most likely returned: > > "ENODEV filesystemtype not configured in the kernel." > > (from mount (2)) >
This can be filesystem-specific. Mount just returns the errstr at the moment. Feel free to send a patch with your idea however. -- Kind regards, Hiltjo