[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug - Moving mounted fs with trailing slash fails.
From: |
terry . dooher |
Subject: |
Bug - Moving mounted fs with trailing slash fails. |
Date: |
Wed, 21 Mar 2001 15:30:28 +0000 |
(boy-oh-boy-oh-boy, my first bug report!)
It appears that if I attempt to mv a mount point to another location I
get an assertion failure and a core dump, but only if I give the
trailing slash on the mount point.
See the attached console log for details, the attached core dump is
merely a courtesy detail (it's only 120kb so I thought I might as well)
Terry.
PS. If this isn't a bug and I've done something incredibly stupid,
please let me know (and feel free to have a good laugh at my expense)
--
Terry Dooher - address@hidden System Administrator
MathEngine PLC, The Oxford Centre for Innovation, Mill Street
Oxford OX2 0JX. Tel: +44 1865 799414 Fax: +44 1865 799401
cue (/mnt) # uname -a
Linux cue.ox.mathengine.com 2.2.17 #12 SMP Wed Nov 15 17:50:43 GMT 2000 i686
unknown
cue (/mnt) # ls -l /bin/mv
-rwxr-xr-x 1 root root 42076 Aug 25 2000 /bin/mv*
cue (/mnt) # mke2fs /dev/hdc3
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
525888 inodes, 1051344 blocks
52567 blocks (5.00%) reserved for the super user
First data block=0
33 block groups
32768 blocks per group, 32768 fragments per group
15936 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
cue (/mnt) # mount /dev/hdc3 tmp/
cue (/mnt) # cd tmp
cue (/mnt/tmp) # touch 1
cue (/mnt/tmp) # touch 2
cue (/mnt/tmp) # ls
1 2 lost+found/
cue (/mnt/tmp) # cd ..
cue (/mnt) # ls /tmp
cntsizes.pl orbit-root/
cue (/mnt) # /bin/mv /mnt/tmp/ /tmp/test
mv: basename.c:67: base_name: Assertion `all_slashes || *(p - 1) != '/'' failed.
Aborted (core dumped)
cue (/mnt) # ls tmp/
1 2 lost+found/
cue (/mnt) # ls /tmp/test/
1 2 lost+found/
cue (/mnt) # rm -rf /tmp/test
cue (/mnt) # /bin/mv /mnt/tmp /tmp/test
/bin/mv: cannot remove directory `/mnt/tmp': No such file or directory
/bin/mv: cannot remove `/mnt/tmp': No such file or directory
cue (/mnt) # ls /tmp/test/
1 2 lost+found/
cue (/mnt) # ls tmp/
cue (/mnt) #
core
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug - Moving mounted fs with trailing slash fails.,
terry . dooher <=