Tango FileRoots

Lars Ivar Igesund larsivar at igesund.net
Sun Mar 2 09:55:55 PST 2008


Jesse Phillips wrote:

> I'm interested in knowing why FileRoots.list() uses /etc/mtab for its
> root folders in linux? To my knowledge Linux only has one root and if
> anything its sub directories would be considered the roots. I just don't
> see the point of using mtab, but then again I'm looking at it from how
> file managers look at the system.

The unix root / isn't the most useful thing to ask for, thus mtab is used to
show all mounted devices.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list