This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
external/1502: rename ("foo", "nonemptybar") on NFS gets EBUSY with Linux Kernel
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 8 Jan 2004 19:13:02 -0000
- Subject: external/1502: rename ("foo", "nonemptybar") on NFS gets EBUSY with Linux Kernel
- Reply-to: ac131313 at redhat dot com
>Number: 1502
>Category: external
>Synopsis: rename ("foo", "nonemptybar") on NFS gets EBUSY with Linux Kernel
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: external
>Submitter-Id: net
>Arrival-Date: Thu Jan 08 19:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Apparently:
$ mkdir foo
$ mkdir bar
$ $ cat ~/tmp/rename.c
#include <stdio.h>
#include <errno.h>
main ()
{
errno = 0;
rename ("foo", "bar");
printf ("errno %d\n", errno);
}
$ cc rename.c -o rename
$ ./rename
errno 16
Reports EBUSY on an NFS file system, and (the more correct) ENOTEMPTY on a local file system.
Apparently still present in current 2.6 Linux Kernel.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: