Skip to contentSkip to conversation

user_namespaces(7) should mention overlay as mountable since Linux 5.11

DISCUSSION Szunti 3 participants 4 messages Mar 9, 2021 – Mar 21, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Szunti

author
#0 lore raw

user_namespaces lists in Capabilities section the filesystems that can be mount:

Holding CAP_SYS_ADMIN within the user namespace that owns a process's mount namespace allows that process to create bind mounts and mount the following types of filesystems:

* /proc (since Linux 3.8)
* /sys (since Linux 3.8)
* devpts (since Linux 3.9)
* tmpfs(5) (since Linux 3.9)
* ramfs (since Linux 3.9)
* mqueue (since Linux 3.9)
* bpf (since Linux 4.4)

IUUC this list should add
* overlay (since Linux 5.11)

#1 lore raw

Hi,

Quoted 16 lines · Szunti

user_namespaces lists in Capabilities section the filesystems that can be mount:

Holding CAP_SYS_ADMIN within the user namespace that owns a process's mount namespace allows that process to create bind mounts and mount the following types of filesystems:

* /proc (since Linux 3.8)
* /sys (since Linux 3.8)
* devpts (since Linux 3.9)
* tmpfs(5) (since Linux 3.9)
* ramfs (since Linux 3.9)
* mqueue (since Linux 3.9)
* bpf (since Linux 4.4)

Quoted 2 lines

IUUC this list should add
* overlay (since Linux 5.11)

Could you add some info about how you discovered/verified this please.

That helps us check the details.

Cheers,

Michael

Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
#2 lore raw

Hi Michael,

Quoted 17 lines · Michael Kerrisk (man-pages)
Quoted 16 lines · Szunti

user_namespaces lists in Capabilities section the filesystems that can be mount:

Holding CAP_SYS_ADMIN within the user namespace that owns a process's mount namespace allows that process to create bind mounts and mount the following types of filesystems:

* /proc (since Linux 3.8)
* /sys (since Linux 3.8)
* devpts (since Linux 3.9)
* tmpfs(5) (since Linux 3.9)
* ramfs (since Linux 3.9)
* mqueue (since Linux 3.9)
* bpf (since Linux 4.4)

Quoted 2 lines
Quoted 2 lines

IUUC this list should add
* overlay (since Linux 5.11)

It should rather say overlayfs.

Quoted 3 lines

Could you add some info about how you discovered/verified this please.

That helps us check the details.

What a coincidence, I just happen to have the relevant Linux kernel merge commits cached:
92dbc9dedccb9759c7f9f2f0ae6242396376988f aka v5.11-rc1~83 4cb2c00c43b3fe88b32f29df4f76da1b92c33224 aka v5.11-rc7~28

Signature · 1 line
ldv
#3 lore raw
Quoted 25 lines · Dmitry V. Levin

Hi Michael,

Quoted 17 lines · Michael Kerrisk (man-pages)
Quoted 16 lines · Szunti

user_namespaces lists in Capabilities section the filesystems that can be mount:

Holding CAP_SYS_ADMIN within the user namespace that owns a process's mount namespace allows that process to create bind mounts and mount the following types of filesystems:

* /proc (since Linux 3.8)
* /sys (since Linux 3.8)
* devpts (since Linux 3.9)
* tmpfs(5) (since Linux 3.9)
* ramfs (since Linux 3.9)
* mqueue (since Linux 3.9)
* bpf (since Linux 4.4)

Quoted 2 lines
Quoted 2 lines

IUUC this list should add
* overlay (since Linux 5.11)

It should rather say overlayfs.

Quoted 8 lines
Quoted 3 lines

Could you add some info about how you discovered/verified this please.

That helps us check the details.

What a coincidence, I just happen to have the relevant Linux kernel merge commits cached:
92dbc9dedccb9759c7f9f2f0ae6242396376988f aka v5.11-rc1~83 4cb2c00c43b3fe88b32f29df4f76da1b92c33224 aka v5.11-rc7~28

Thanks Dmitry nd Szunti. I've added overlayfs.

Cheers,

Michael

Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/