Use sdirs in cstat.