George Gallen on 4 Aug 2004 13:46:03 -0000

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

RE: [PLUG] PDF weirdness

Title: RE: [PLUG] PDF weirdness

I thought I remembered that being a restriction.
Guess it wasn't mv.

I know I had the problem a few years ago, and it was
because of the cross filesystems, not sure what it was.
Thought it txt2pdf or unix2dos (I'm thinking it was
unix2dos more now). Don't know now. But I know it was
because I was reference a file that was in another
directory, and not in my current directory.

It would create a temporary new file, then delete
the original file, then rename the tempoary file
back to the original file. it would fail on the
renaming, the bad part was you lost your original file.

I know it wasn't a permissions issue.

I don't think it was creating a link. This is gonna
bother me now.


>-----Original Message-----
>From: Stephen Gran []
>Sent: Tuesday, August 03, 2004 5:23 PM
>Subject: Re: [PLUG] PDF weirdness
>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
>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
>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  |
>|             | by some means abridged, it
>will soon    |
>| | fall into disuse.   --
>Philip Hale,     |
>|                               | Boston music critic, 1837   
>           |