Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 12-28-2006, 10:48 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 14

Rep: Reputation: 0
error mv: `../oxyspool/temp_oxy' and `../oxyspool/oxyfilenames' are the same file

error in move command.
mv -f ../oxyspool/temp_oxy ../oxyspool/oxyfilenames
error: mv: `../oxyspool/temp_oxy' and `../oxyspool/oxyfilenames' are the same file.
name of source file and destination file are different..
but giving the of same file.. why?
Old 12-28-2006, 11:14 PM   #2
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
It's possible that one file is a link to the other.

Post the output of:
stat ../oxyspool/temp_oxy ../oxyspool/oxyfilenames
Old 12-28-2006, 11:16 PM   #3
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
Could it be that both file names point to the same inode? In other words, are both filenames links to the same file? If you do an ls -l on one of the files, one of the fields in the listing should tell you how many links there are to the file.
Old 12-29-2006, 04:00 AM   #4
LQ Newbie
Registered: Apr 2006
Posts: 14

Original Poster
Rep: Reputation: 0
as such there is no soft link created for a file.
as soon as the file is created its removed after it is used..
cant see the output of stat ...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
Random file lines directed to a new file. In script an error. In command line no err leventis Programming 1 09-28-2006 07:16 AM
Two million error lines in .xsession-error file from FireFox acanton Linux - Software 4 08-28-2005 09:53 AM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 12:44 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration