Skip to content

Support nr_inodes in mount(tmpfs) #13172

@shailend-g

Description

@shailend-g

Description

Regard this failure seen by systemd 258:

6802 I0512 19:56:23.566194       1 strace.go:573] [   2:   2] (sd-gens) E mount(0x1000 tmpfs, 0x2000 /proc/self/fd/9, 0x1000 tmpfs, 0x6, 0x3000 mode=01777,size=20%,nr_inodes=800k)                                                                                                                                                                        
6803 W0512 19:56:23.566216       1 tmpfs.go:324] [   2:   2] tmpfs.FilesystemType.GetFilesystem: unknown options: map[nr_inodes:800k]                                                                                                                                                                                                                                                      
6804 I0512 19:56:23.566259       1 strace.go:611] [   2:   2] (sd-gens) X mount(0x1000 tmpfs, 0x2000 /proc/self/fd/9, 0x1000 tmpfs, 0x6, 0x3000 mode=01777,size=20%,nr_inodes=800k) = -1 errno=22 (invalid argument) (55.528µs)

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    systemdStuff we need to support systemdtype: enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions