Displaying 1 result from an estimated 1 matches for "isgrp".
Did you mean:
sgrp
2004 Jan 06
0
dfree and linux quota
...I get the real path of a share parsed to my dfree-script?
Thanks in advance
Johannes Laemmermann
I've tried any other substitution but without any positive result.
My dfree command entry: dfree command = /scripte/dfree/smb_dfree.pl %U
My perl scirpt:
#!/usr/bin/perl
use Quota;
my ($dev,$uid,$isgrp);
my ($bc,$bs,$bh,$bt,$ic,$is,$ih,$it);
$dev="/dev/md3";
#$uid=`getent passwd $ARGV[0]|cut --delimiter=\: --fields=3-3`;
$uid=`getent passwd sjohlae|cut --delimiter=\: --fields=3-3`;
($bc,$bs,$bh,$bt,$ic,$is,$ih,$it) = Quota::query($dev,$uid,$isgrp);
my $dspace = $bs;
my $dfree = $bs - $b...