[sork] Accounts/quota

MiikaT mlist.horde2 at finansium.fi
Wed Jul 30 02:12:39 PDT 2003


Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:
> 1) If all your users are on the same disk, e.g. /dev/Volume00/LogVol03,
> then
> change:
>         $homedir = split("/", $passwd_array['dir']);
> to:
>         $homedir = "/dev/Volume00/LogVol03";
> And you are done.
> 
I tried this:

$homedir = split( "/dev/Volume00/LogVol00", $passwd_array['dir'] );

Which resulted a php error:

Notice: Undefined index: 1 in /usr/local/apache/virtual/imp/horde-
2.2.3/accounts/lib/Driver/localhost.php on line 87

87 = $this->params['grep_path'] . " $homedir[1]";

and if I tried:

$homedir = split( "/dev");


Warning: Wrong parameter count for split() 
in /usr/local/apache/virtual/imp/horde-2.2.3/accounts/lib/Driver/localhost.php 
on line 84

84 = $homedir = split( "/dev");

For the home dir, passwd file states that all users are under /home, using the
device /dev/Volume00/LogVol00.

-MiikaT

----- End forwarded message -----





More information about the sork mailing list