• J. R. Okajima's avatar
    aufs: sysfs interface · a3adef77
    J. R. Okajima authored
    
    
    The branch path can be much longer and it is not suitable to print via
    /proc/mounts as a part of mount options. Aufs can show it either
    separately via sysfs or /proc/mounts (as a part of mount options).
    This approach affects the lifetime of aufs objects and sbinfo contains
    kobject (in another commit). Theoretically user can disable
    CONFIG_SYSFS, but the lifetime management is always necessary. So
    supporting sysfs is split into two files, sysaufs.c and sysfs.c.
    sysaufs.c is always compiled, but sysfs.c is compiled only when
    CONFIG_SYSFS is enabled.
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    a3adef77
sysfs.c 4.99 KB