bug-fileutils
[Top][All Lists]
Advanced

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

Assert failed in mv 4.0x on Linux


From: Mike
Subject: Assert failed in mv 4.0x on Linux
Date: Mon, 07 May 2001 23:40:20 +0200

Hi guys

Imagine my surprise when I got this message:

mv: basename.c:67: base_name: Assertion `all_slashes || *(p -1) != '/''
failed.

When moving an (admittedly massive) 80-odd meg directory tree around my
disk.

Some vital stats:

mv --version says "mv (GNU fileutils) 4.0x"
OS is Linux 2.2.16 on i386, Redhat 7 base, glibc 2.1.94
Redhat RPM mv came from is fileutils-4.0x-3

How to reproduce:

I won't send you the tree ;-). It's the java documentation for the J2SE
version 1.2.2. There is a subdirectory called "docs/api" which I was
moving. It's big and deep.

The actual command was:

tcsh# mv /var/www/html/javadocs/00-Official\ Documentation/docs/api
/usr/local/classdocs/J2SE-1.2
(5 minutes of whirring later - I'm on a laptop)
tcsh# mv: basename.c:67: base_name: Assertion `all_slashes || *(p -1) !=
'/'' failed.

May be relavent to know that:
* /var/www/html/javadocs/00-Official\ Documentation was a symlink to
/usr/local/jdk1.2.2/docs
* /usr/local/classdocs/J2SE-1.2 was a new, empty directory
* I had enough disk space to go around
* All directories on same partition, which is standard linux EXT2
* All the files seemed to be copied (number of bytes are the same
anyway, not going to run a checksum on that kind of volume), but I
am still left with the original tree.

Anything else you need to know, take your best shot and I'll try and
answer.

Cheers... Mike
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]