losing directory entries?

Chris Whitehouse cwhiteh at onetel.com
Sun Jun 8 12:59:23 UTC 2008


does anyone know what is going on here?

this is an external usb 250gb hard disk mounted on /mnt using ntfs-3g. 
The hard disk is less than a year old and not heavily used. I've only 
just started using it as an external drive, it was installed in a 
computer until then.

/dev/ad4s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad4s1e on /tmp (ufs, local, soft-updates)
/dev/ad4s1f on /usr (ufs, local, soft-updates)
/dev/ad4s1d on /var (ufs, local, soft-updates)
/dev/fuse1 on /mnt (fusefs, local, synchronous)

/mnt/Documents and Settings/Administrator
Application data        Local Settings          My Documents
%ls ..
%ls .
Application data        Local Settings          My Documents
/mnt/Documents and Settings/Administrator
%du -sh .
5.2G    .
/mnt/Documents and Settings/Administrator
%find . > ~/anyold.textfile
find: .: No such file or directory
pwd: .: No such file or directory
ls: .: No such file or directory

The actions leading up to this are quite random, usually using find and 
du do the trick immediately but not always, and one time just doing pwd 
and ls a couple of times did it. If I cd to /mnt then everything appears 

%uname -a
FreeBSD eco 7.0-STABLE FreeBSD 7.0-STABLE #4: Tue May 27 14:44:58 BST 
2008     root at eco:/usr/obj/usr/src/sys/GENERIC  i386
Id Refs Address    Size     Name
  1   16 0xc0400000 94181c   kernel
  2    1 0xc0d42000 14324    snd_hda.ko
  3    2 0xc0d57000 4a5cc    sound.ko
  4    1 0xc0da2000 80dc6c   nvidia.ko
  5    2 0xc15b0000 28678    linux.ko
  6    1 0xc15d9000 4d20     atapicam.ko
  7    1 0xc15de000 6a2c4    acpi.ko
  8    1 0xc4bb0000 e000     fuse.ko
%pkg_info -Ix ntfs
fusefs-ntfs-1.2506  Mount NTFS partitions (read/write) and disk images
ntfsprogs-1.13.1_5  Utilities and library to manipulate NTFS partitions

I did a recent chkdsk in windows on the disk and it did some repairs - 
cross-linked files I think. I have a log of what it found.


More information about the freebsd-questions mailing list