Hello,
try use
File::Copy
copy("src", "dest")
instead link.
But link is faster.
2007/8/30, Jason Haar <Jason.Haar trimble.co.nz>:
> mlist wrote:
> > I'm mounting the device with this command:
> >
> > mount -t tmpfs -o size=50M,mode=0744 tmpfs
/var/spool/qmailscan/working/new
> > mount -t tmpfs -o size=50M,mode=0744 tmpfs
/var/spool/qmailscan/working/tmp
> >
> > Does anyone have experience using a tmpfs for
their scanning directory?
> > Any assistance is appreciated.
> >
> Sorry, but you jsut can't do that. By definition,
maildir directories
> *must* be on the same disk, otherwise a
"move" operation cannot work
> (you cannot move files between devices - only
copy-and-delete).
>
> Why don't you make "working" a tmpfs
instead?
>
> --
> Cheers
>
> Jason Haar
> Information Security Manager, Trimble Navigation Ltd.
> Phone: +64 3 9635 377 Fax: +64 3 9635 417
> PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063
5EBB FE1D 66D1
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?
Stop.
> Now Search log events and configuration files using
AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Qmail-scanner-general mailing list
> Qmail-scanner-general lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/q
mail-scanner-general
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/q
mail-scanner-general
|