Re: Data loss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:

> Francesco Pirozzi <francesco.pirozzi@accent.it> wrote:
> >
> > Hello everybody,
> >
> > it happened with my RH73 that the same partition (ext3 fs, of course) was mounted
> > onto
> > two different mount points ( "/" and "/mnt/removable" respectively) and a copy of
> > files
> > from one path to another (e.g. "cp /opt/myfile /mnt/removable/opt) reveiled to be
> > an overwriting procedure.
>
> Rather offtopic, but this should have generated an error
>
>         cp: `/opt/myfile' and `/mnt/removable/opt/myfile' are the same file
>
> It does in 2.5...
>
> Or maybe you were using something other than `cp'?

An alias was set:

alias cp="cp -rf"

but I also remember that some message has to be expected in this case,
even after the alias has been set.

A kind of:

"error: source and destination files are identical."

Am I right?








_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux