Skip to content

Automatically create directory when subdir's location does not exist #1709

@dantegarden

Description

@dantegarden

What would you like to be added:
When I specify a directory that does not exist through the subdir option, the juicefs mount fails.

I hope subdir can be created automatically when the directory does not exist, just like subPath.

Why is this needed:
Although subPath can mount subdirectories, it cannot be operated with the juicefs command in the application pod.
The subdir option does not support automatic creation of new directories, which makes some business logic difficult to implement.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions