NetBSD Problem Report #9991
Received: (qmail 1559 invoked from network); 27 Apr 2000 11:21:36 -0000
Message-Id: <200004271121.NAA00827@hiro.xon.net>
Date: Thu, 27 Apr 2000 13:21:20 +0200 (CEST)
From: wiz@danbala.ifoer.tuwien.ac.at
Reply-To: wiz@danbala.ifoer.tuwien.ac.at
To: gnats-bugs@gnats.netbsd.org
Subject: rsync/msdosfs problem
X-Send-Pr-Version: 3.95
>Number: 9991
>Category: kern
>Synopsis: rsync/msdosfs problem
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: jdolecek
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 27 11:22:00 +0000 2000
>Closed-Date: Tue Jul 25 22:26:22 +0000 2000
>Last-Modified: Tue Jul 25 22:26:22 +0000 2000
>Originator: Wiz
>Release: 1.4.2
>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:
Using rsync to synchronize a file with an LFN on a msdosfs results in
loss of the file's LFN.
>How-To-Repeat:
mount /some/dos/device /disk/win98
touch somelongfilename
rsync somelongfilename /disk/win98
(this one works, because the file's not there yet)
--output
somelongfilename
wrote 80 bytes read 32 bytes 224.00 bytes/sec
total size is 0 speedup is 0.00
--end output
rsync somelongfilename /disk/win98
--output
somelongfilename
stat somelongfilename : No such file or directory
wrote 80 bytes read 32 bytes 74.67 bytes/sec
total size is 0 speedup is 0.00
--end output
The target directory then only contains a file SOMELO~1, the LFN gets
lost.
I filed this under kern because rsync works okay on non-msdosfs.
>Fix:
Sorry, don't know.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->jdolecek
Responsible-Changed-By: jdolecek
Responsible-Changed-When: Thu Apr 27 04:26:12 PDT 2000
Responsible-Changed-Why:
msdosfs is my baby :)
State-Changed-From-To: open->analyzed
State-Changed-By: jdolecek
State-Changed-When: Sun Jul 16 04:53:31 PDT 2000
State-Changed-Why:
Probably related to kern/5468, partial fix available on -current has
not been pulled to 1.4.x branch. If target file exists, rsync
creates temporary file and rename(2) it to the target one, so that's
the same thing as mv(1) in kern/5468 does.
State-Changed-From-To: analyzed->closed
State-Changed-By: jdolecek
State-Changed-When: Tue Jul 25 15:25:40 PDT 2000
State-Changed-Why:
This is same as kern/5468.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.