devroot: Use dirtab's length instead of rootdata's size