Re: OT: why no file copy() libc/syscall ??

From: Pavel Machek
Date: Sat Nov 22 2003 - 12:14:41 EST


Hi!

> >>This could be a problem if COW causes you to run out of space when
> >>writing to the file.
> >
> >
> >Not much different than running out of space copying a file.
>
> It is, though. If you run out of space copying a file, you know it when
> you're copying. Applications don't usually expect to get out-of-space
> errors while overwriting something in the middle of a file.

Same can happen on compressed filesystem...
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/