bugcastget - Bugs: bug #17061, Error renaming temp. file: cross...

 
 

bug #17061: Error renaming temp. file: cross device link.

Submitted by:  Guillaume Lasmayous <guigui2>
Submitted on:  Sat 08 Jul 2006 07:54:08 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Marius L. Jøhndal <mariuslj>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Jul 2006 08:52:35 AM UTC, comment #1:

You are quite right. castget creates a temporary file in the /tmp directory, and then tries to rename it into a file in your home directory. If these directories are on different devices, this cannot be done without copying the file.

The issue has already been fixed in CVS. I will make a new release with this by the end of the weekend.

Thank you for reporting this!

Marius L. Jøhndal <mariuslj>
Project AdministratorIn charge of this item.
Sat 08 Jul 2006 07:54:08 AM UTC, original submission:

I just did a fresh build of castget.
Downloading the enclosures is OK, but there is something wrong when trying to write the <channel.xml> file:

Error renaming temporary file /var/tmp/.25289d to /home/guigui/.castget/Daves Lounge.xml: Cross-device link.

The way I understand the error message makes me think this can be linked to my disk layout:

% mount [09:47]
/dev/wd0a on / type ffs (local)
/dev/wd0f on /var type ffs (local)
/dev/wd0e on /usr type ffs (local)
/dev/wd0g on /home type ffs (local)
mfs:438 on /tmp type mfs (synchronous, local)
kernfs on /kern type kernfs (local)
/dev/sd0f on /mnt type ext2fs (local)

% df -h [09:48]
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 2.0G 35M 1.9G 1% /
/dev/wd0f 1.0G 38M 920M 3% /var
/dev/wd0e 17G 8.0G 8.0G 49% /usr
/dev/wd0g 16G 1.1G 14G 7% /home
mfs:438 497M 7.0K 472M 0% /tmp
kernfs 1.0K 1.0K 0B 100% /kern
/dev/sd0f 69G 22G 43G 34% /mnt

Am I right ?
By the way, I run NetBSD-3.0.
Can this by worked around ? (Maybe with an option to specify the tmp directory ?)

Please let me know if you need something more..
Thanks in advance,
Guillaume.

Guillaume Lasmayous <guigui2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 12 Nov 2006 08:28:17 PM UTCmariusljOpen/ClosedOpen=>Closed
Sat 08 Jul 2006 08:52:35 AM UTCmariusljStatusNone=>Fixed
  Assigned toNone=>mariuslj

Back to the top


Powered by Savane 3.1-cleanup1