sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 13377] New: mv from coreutils 6.4 should try harder in some circumstances
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13377] New: mv from coreutils 6.4 should try harder in some circumstances
- Date: 3 Jan 2007 13:06:17 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13377
Summary: mv from coreutils 6.4 should try harder in some
circumstances
Product: Codex
Version: test grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: utils
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: sqweek AT gmail.com
mv(1) tries the rename(2) syscall up front, but this doesn't necessarily
succeed
(eg it doesn't work across devices).
rename(2) on a 9p2000 filesystem only supports renaming within the same
directory and sets errno to EPERM when a rename between directories is
attempted, which is correct according to the last sentence of rename(2) under
EPERM.
But, mv(1) only falls back to a copy/remove strategy when rename fails and
sets
errno to EXDEV. The one line patch to coreutils I'm about to submit makes mv
fall back on EPERM also.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 13377] New: mv from coreutils 6.4 should try harder in some circumstances, bugzilla-daemon, 01/03/2007
Archive powered by MHonArc 2.6.24.