Subject: Bug in MSDOSFS
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Bob Kemp <rsk@ecs.soton.ac.uk>
List: netbsd-bugs
Date: 03/30/1994 21:08:01
>Submitter-Id: net
>Originator: Bob Kemp
>Organization:
ECS Dept, Southampton University, UK
>Confidential: no
>Synopsis: msdosfs omits ".." in new dirs
>Severity: serious
>Priority: medium
>Category: kern
>Class: sw-bug
>Release: -current 5th March 1994
>Environment:
System: NetBSD allegory 0.9a ALLEGORY#0 i386
>Description:
MS-DOS filesystem sometimes omits ".." in created directories.
>How-To-Repeat:
# The /etc/fstab file contains
# /dev/wd0h /mnt/dos msdos noauto,synchronous,rw 1 4
mount /mnt
cd /mnt
mkdir zxc
cd zxc
ls -a
ls: ..: No such file or directory
./
# syncing has no effect, neither does waiting as far as I can tell
# unmounting and mounting the filesystem fixes it.
cd /
umount /mnt
mount /mnt
ls -s /mnt/zxc
./ ../
>Fix:
Dunno
------------------------------------------------------------------------------