Re: File system structure difference between cp and mv linux commands

Stephen Samuel <[email protected]>
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>
If you do that, then you should probably be ready to use a 'cp', if the
source and destination
aren't on the same device (e.g. just in case /tmp becomes a separate
filesystem)

On Tue, Jun 1, 2010 at 9:57 PM, Lakshmipathi.G <[email protected]>wrote:

> If you don't have any  issue- in using system calls directly ,then instead
> of
> system("mv source target").
> use -
> link ("source","target") // creat hard link
> unlink ("source")         // remove old link
>
> [check "man 2 link" and "man 2 unlink"  for more details]
>

-- 
Stephen Samuel http://www.bcgreen.com  Software, like love,
778-861-7641                              grows when you give it away

_______________________________________________
Ext3-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ext3-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.