mv problems ! 2.3.99pre4-1

From: Peter Enderborg (pme@ufh.se)
Date: Sat Apr 01 2000 - 16:47:24 EST


mv gets the error message 'No such file or directory' when trying to
rename "mv" the mountpoint (ext2)
I hope no one see this as a feature ?! Or is it ?!

[root@pescadero /]# ls -al
total 61
drwxr-xr-x 21 root root 1024 Apr 1 21:02 .
drwxr-xr-x 21 root root 1024 Apr 1 21:02 ..
drwxr-xr-x 2 root root 1024 Jul 14 1998 .automount
-rw-r--r-- 1 root root 157 Mar 21 20:58 .bash_history
drwxr-xr-x 2 root root 2048 Mar 26 00:40 bin
drwxr-xr-x 2 root root 1024 Apr 1 19:18 boot
drwxr-xr-x 2 root root 1024 Aug 21 1998 cdrom
drwxr-xr-x 3 root root 22528 Apr 1 21:17 dev
drwxr-xr-x 27 root root 4096 Apr 1 23:18 etc
drwxr-xr-x 12 root root 1024 Jan 23 20:52 export1
drwxr-xr-x 2 root root 1024 Aug 21 1998 export2
lrwxrwxrwx 1 root root 14 Apr 1 21:01 home ->
/export1/home/
drwxr-xr-x 5 root root 1024 Aug 21 1998 home.org
drwxr-xr-x 4 root root 3072 Jan 23 21:56 lib
drwxr-xr-x 2 root root 12288 Apr 1 19:11 lost+found
drwxr-xr-x 7 root root 1024 Apr 1 20:58 mnt
dr-xr-xr-x 2 root root 1024 Aug 21 1998 net
drwxr-xr-x 3 root root 1024 Jan 23 20:58 opt
dr-xr-xr-x 110 root root 0 Apr 1 21:17 proc
drwxr-xr-x 10 root root 1024 Apr 1 21:19 root
drwxr-xr-x 3 root root 2048 Mar 26 00:40 sbin
lrwxrwxrwx 1 root root 8 Apr 1 21:01 tmp -> /usr/tmp
drwxr-xr-x 24 root root 1024 Apr 1 21:16 usr
drwxr-xr-x 18 root root 1024 Jan 5 21:52 var
[root@pescadero /]# mv usr usr2
mv: cannot move `usr' to `usr2': No such file or directory
[root@pescadero /]# mv opt opt2
[root@pescadero /]# mount
/dev/sda1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda3 on /usr type ext2 (rw)
/dev/hdc3 on /export1 type ext2 (rw)
[root@pescadero /]#



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:08 EST