From nobody@FreeBSD.org  Sat Feb 10 09:16:56 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 83B7416A402
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Feb 2007 09:16:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 728CD13C4B2
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Feb 2007 09:16:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1A9Gui2041187
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Feb 2007 09:16:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1A9GumM041186;
	Sat, 10 Feb 2007 09:16:56 GMT
	(envelope-from nobody)
Message-Id: <200702100916.l1A9GumM041186@www.freebsd.org>
Date: Sat, 10 Feb 2007 09:16:56 GMT
From: ronggui<0034058@fudan.edu.cn>
To: freebsd-gnats-submit@FreeBSD.org
Subject: can mv directory within fat32 file system
X-Send-Pr-Version: www-3.0

>Number:         109010
>Category:       kern
>Synopsis:       [msdosfs] can't mv directory within fat32 file system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 10 09:20:03 GMT 2007
>Closed-Date:    Tue Apr 17 09:59:40 UTC 2012
>Last-Modified:  Tue Apr 17 09:59:40 UTC 2012
>Originator:     ronggui
>Release:        6.2
>Organization:
Fudan University
>Environment:
FreeBSD MyBSD.localdomain 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When I try to move a directory  into another directory within fat32 file
system, the system complain that " not a directory?".

The fat32 system is one logical partition, not a primary partition.

My disk table is like this:

windows C:\ --- BSD slice --- windows D --- windows E

the windows C:\ is ad0s1,
the BSD slice is ad0s3 (and the ad0s2 is the windows extened partition),
the windows D:\ is ad0s5,
the windows E:\ is ad0s6.

Strangely, the problem does not occur with ad0s6. And in my other PC, This problem  never shows up. 
>How-To-Repeat:
mount_msdosfs /dev/ad0s5 /mnt
cd /mnt
mkdir 1 2
mv 1 2
doscheckpath():.. not a directory?
mv: rename 1 to 2/1: Not a directory
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Feb 13 00:49:20 UTC 2007 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109010 
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 04:30:34 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109010 
State-Changed-From-To: open->closed 
State-Changed-By: kevlo 
State-Changed-When: Tue Apr 17 09:59:03 UTC 2012 
State-Changed-Why:  
I cannot reproduce this issue on FreeBSD 7/8/9. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109010 
>Unformatted:
