copyPath:@"/private/var/run/syslog"
copyPath:@"/private/var/run/syslog"
- Subject: copyPath:@"/private/var/run/syslog"
- From: Lorenzo Puleo <email@hidden>
- Date: Mon, 17 Jun 2002 22:33:46 +0200
Hi,
I'm trying to copy the files:
/private/var/run/pppconfd
/private/var/run/syslog
using the Cocoa API copyPath.
My copy fails because, after I got the byte size of the file "pppconfd",
the file seems to be a very very very large file (Tera and Tera of bytes...)
and the destination disk never can have so much free space. The Finder too
returns this incredible amount of bytes, while the whole disk, which
contains this source file, contains less bytes than the file itself.
Strange. Also, if I copy anyway one of these files, my application quits
unexpectedly.
Is it a MacOSX bug? I use MacOSX 10.1.5 and PB 1.1.1.
When I try to copy these files, they reside on the boot disk.
How should I copy these files?
How should I get the right byte size?
Should I really need to copy these files when I execute a whole backup of
the boot disk?
Have you some guideline to execute a backup of a whole boot disk using
Cocoa? (e.g. don't copy these files:...., don't backup from the boot disk
but start your machine from a different disk, be sure to do this, be sure to
do that...).
Thank you
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.