LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-28-2006, 11:48 PM   #1
suchi_sood
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.
why?
name of source file and destination file are different..
but giving the of same file.. why?
 
Old 12-29-2006, 12:14 AM   #2
zhangmaike
Member
 
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:
Code:
stat ../oxyspool/temp_oxy ../oxyspool/oxyfilenames
 
Old 12-29-2006, 12:16 AM   #3
penguiniator
Member
 
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, 05:00 AM   #4
suchi_sood
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 ...
 
  


Reply


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 04:45 AM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 07: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 08:16 AM
Two million error lines in .xsession-error file from FireFox acanton Linux - Software 4 08-28-2005 10:53 AM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 01:44 PM


All times are GMT -5. The time now is 01:53 AM.

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