Tim Waugh [EMAIL PROTECTED] wrote:
A Netapp NFS server containing a file (xxx) and a snapshot of the file
(.snapshot/xxx) will give them the same inode number.
Unfortunately, 'cp .snapshot/xxx xxx' (in order to recover the
snapshot version) fails with '... are identical' due to the inode
On Mon, Mar 07, 2005 at 01:36:20PM +0100, Andreas Schwab wrote:
http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html
If source_file references the same file as dest_file, cp may write a
diagnostic message to standard error; it shall do nothing more with
source_file
Jim Meyering [EMAIL PROTECTED] wrote:
...
That said, it might be worthwhile to change the SAME_INODE checks
in copy.c to also check same_file_attributes, where that macro
is defined like this (from diffutils/src/system.c):
Can someone make sure this patch works and let me know?
Just apply it,
Tim Waugh [EMAIL PROTECTED] writes:
Well, whether source_file references the same file as dest_file is not
quite clear.
As Jim already wrote, POSIX is quite clear about that.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg,
Paul Eggert [EMAIL PROTECTED] wrote:
Jim Meyering [EMAIL PROTECTED] writes:
Can someone make sure this patch works and let me know?
Just apply it, build cp, and then run a command like
./cp .snapshot/F F
for some file F, on a NetApp-backed file system.
The above command should succeed,
Jim Meyering [EMAIL PROTECTED] writes:
You could try comparing the entire `struct stat's of two file/snapshot
pairs, one where the snapshot is the same, the other where it differs,
in the hopes that there will be something obvious that distinguishes
the two cases.
The only difference that I
Hello,
I have a specific problem with a file that i want to split :
I would like to split the file in 'x' pieces for exemple. But i would
like to have line one in file one, line two in file two and so on then
line x in file x and line x+1 in file one ...
I looked at grep, split and csplit and