Michael Meltzer wrote:
> I am new to perl and to the list.
> I searched the archives but didn't find an answer.
>>From a given path (/usr/people/charles) I want to extract the filesystem name or id
>so that
> I can get the free space of that filesystem using the modul Filesys::DiskFree.
I would think that just using any file on that FS would work (can't test here):
my $handle = new Filesys::DiskFree;
my $avail = $handle->avail('/usr/people/charles');
--
,-/- __ _ _ $Bill Luebkert ICQ=162126130
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs