I have mounted tmpfs .e.g.
/tmspfs/cache
As we expect, so after restart server is ram empty and all content from mount is away. It is ok. But I have in my system some full path e.g. /tmpfs/cache/user1/file - error is /tmpfs/cache/user1/ is not exist.
I cant add some checks and rmdir to software.
So question is - Is some way here, for auto create whole path before create file?
Thanks.