fs: Support the root file system attributes(mode, uid, gid and time)

Note: all attributes is guarded by PSEUDOFS_ATTRIBUTES to save the space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I664d60382e356068fd920f08aca5b4a49d8d92a9
This commit is contained in:
Xiang Xiao
2021-07-09 13:43:26 +08:00
committed by Alan Carvalho de Assis
parent 09f3a1ec8e
commit 0148e1d501
21 changed files with 76 additions and 72 deletions
+8
View File
@@ -47,6 +47,14 @@ config DISABLE_PSEUDOFS_OPERATIONS
However, in practical embedded system, they are seldom needed and
you can save a little FLASH space by disabling the capability.
config PSEUDOFS_ATTRIBUTES
bool "Pseudo-filesystem attributes"
default n
depends on !DISABLE_PSEUDOFS_OPERATIONS
---help---
Enable support for attributes(e.g. mode, uid, gid and time)
in the pseudo file system.
config PSEUDOFS_SOFTLINKS
bool "Pseudo-filesystem soft links"
default n