Current status of nullfs and/or unionfs?

Danny Braniss danny at cs.huji.ac.il
Fri May 6 00:25:11 PDT 2005


> Interesting approach. Is this with 4.x or 5.x? How do you union-mount /etc
> (mount command/fstab entry)?
> 

been doing it since 4.x (i think x < 9)

in initdiskless (5.x) we have:

if [ -e /conf/union ]; then
    kldload unionfs
    mount_md 4096 /conf/etc
    chmod 755 /conf/etc
    mount_unionfs /conf/etc /etc
    ls -R /etc > /dev/null
    touch /etc/.sentinel
    md_created_etc=created
fi

danny




More information about the freebsd-stable mailing list