in reply to filesystem type
On windows: Win32::FsType(), on unix parse the output of mount -n, under linux
will put the filesystem as value of the key "mountpoint" in the hash %result;my @result = (); foreach (split("\n",`mount -n`)) { push @result, (split)[0,4]; } my %result = @result;
regards,
tomte
An intellectual is someone whose mind watches itself.
-- Albert Camus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: filesystem type
by Eyck (Priest) on Jun 17, 2005 at 08:09 UTC |