This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(was Re: cp problem on Win95, mv question)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 05:28 PM 7/10/97 -0600, Mike Porter wrote:
>
>
>On Thu, 10 Jul 1997, Mark Ruys wrote:
>
>> 
>> 1) First a simple question with b18 and Windows NT. Is it true you 

>> can't `mv' files between disks. Namely,
>> 
>>   mv //c/work.txt //a
>> 
>> generates an error. I can manually cp and rm the files, but not 
>> moving.
>
>I can't help with your other problems, but under Linux, at least, mv 
can't
>move accross volumes....even on the same disk if you are copying 
across
>partitions.  I don't necessarily know WHY this is happening, but it 
is
>consistent with the behavior of the GNU utilities.

That's because a mv does some (inode) magic within the filesystem - 
nothing actually gets moved, except some pointers in the "FAT".  This 
kind of operation doesn't make sense across file-systems.

Of course, you've got to wonder why the "mv" command just doesn't do 
a cp/rm when moving across filesystems.  But, it's UNIX, I suppose, 
that's answer enough.  ;-)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBM8XjQlhF67TIaQH3EQJYHgCg5nMRnUHXPm09bVokJ+tK7Ya5dF4An1j4
GUnLzqodtLu7s/uFSEqsF4IF
=uelK
-----END PGP SIGNATURE-----


--X
PGP encrypted mail welcome.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]