Subject: bin/9990: mv fails on moving directories to a msdosfs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 04/27/2000 04:11:12
>Number:         9990
>Category:       bin
>Synopsis:       mv fails on moving directories to a msdosfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 27 04:12:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wiz
>Release:        tested on 1.4.2, believed to be there in -current
>Organization:
>Environment:
	
System: NetBSD hiro.xon.net 1.4.2 NetBSD 1.4.2 (HIRO) #3: Fri Apr 7 01:30:48 CEST 2000 wiz@hiro.xon.net:/archive/cvs/1.4.x/sys-bktr-test/arch/i386/compile/HIRO i386

>Description:
Moving a directory from e.g. ffs to msdosfs produces copies the
directory and its contents alright, but then doesn't delete the
original directory.

This is the inverse to bin/8439 (moving from a msdosfs also doesn't
work).
>How-To-Repeat:
mkdir testdir
vi testdir/testfile
 (enter some data)
mount /some/dos/device /disk/win98
mv testdir /disk/win98/
produces the following warnings and error:

mv: chown: /disk/win98//testdir/testfile: Invalid argument
mv: chown: /disk/win98//testdir: Invalid argument
mv: /bin/cp: terminated with 1 (non-zero) status: No such file or directory

Copying works (diff -r testdir /disk/win98/testdir is silent), but the
source directory and its contents are not removed.
>Fix:
Don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: