[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Data loss
- From: Francesco Pirozzi <francesco pirozzi accent it>
- To: ext3-users redhat com
- Subject: Re: Data loss
- Date: Thu, 13 Feb 2003 12:13:33 +0100
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?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]