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

Re: [cobalt-users] Root almost Full on Raq4



"Ken Duffield" <xebec@xxxxxxxx> wrote:
> Please could someone advise as to what I am doing wrong here as I am
trying
> to move some files using the example as hereunder but I am getting this
> error and I do not see where I am going wrong.
>
> [root@mail /root]# mv /usr/local /home/usr/local
> mv: cannot move `/usr/local' across filesystems: Not a regular file

I suspect your "mv" behavior is different than mine.  I do not have that
problem.  On a RaQ4 my my version is:

[root /root]# mv --version
mv (GNU fileutils) 4.0

You may want to check your version.  In any case, an alternate method is to
do this (copy directory, then delete instead of move):

# Only need /home/usr created, not /home/usr/local to do this.
# -d flag is important, otherwise symbolic links within /usr/local will be
broken after copy.
cp -pRd /usr/local /home/usr/local
rm -r /usr/local

Then follow the rest of the steps I gave previously.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/