Stephen Gran on 3 Aug 2004 21:23:02 -0000 |
On Tue, Aug 03, 2004 at 03:24:24PM -0400, George Gallen said: > Is the directory your in on the same filesystem as /tmp? > > Could gv be creating a file on ., then trying to do a > mv ./file /tmp/..... mv will fail if the two filename > are on different filesystems. ?? steve@gashuffer:~$ mount [...] /dev/hda5 on /tmp type ext3 (rw) /dev/hda7 on /home type ext3 (rw) steve@gashuffer:~$ pwd /home/steve steve@gashuffer:~$ echo 1 > foo steve@gashuffer:~$ echo 2 > /tmp/foo steve@gashuffer:~$ mv ./foo /tmp/ steve@gashuffer:~$ cat foo cat: foo: No such file or directory steve@gashuffer:~$ cat /tmp/foo 1 mv does not fail across filesystems, or am I misinterpreting something? Are you thinking of ln -s? -- -------------------------------------------------------------------------- | Stephen Gran | If Beethoven's Seventh Symphony is not | | steve@lobefin.net | by some means abridged, it will soon | | http://www.lobefin.net/~steve | fall into disuse. -- Philip Hale, | | | Boston music critic, 1837 | -------------------------------------------------------------------------- Attachment:
pgpimfmPd1k9j.pgp
|
|