Bug #2386

find: not working correctly on FAT32

Added by t_dfbsd over 2 years ago. Updated over 1 year ago.

Status:In ProgressStart date:06/17/2012
Priority:NormalDue date:
Assignee:tuxillo% Done:

0%

Category:-
Target version:-

Description

DF 3.1.0.854, mounted USB 500GB hard drive formatted FAT32

The find command is not returning the the full path of found files or directories when the top level directory is all numeric and 8 digits or less:

# mkdir -p 1/foo
# ls -Ri
9507037888 1

./1:
7439821504 foo

./1:
# find . -ls
7439820480 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:14 .
9507037888 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./1
7439821504 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./1
# mv 1 1a
# find . -ls
7439820480 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:14 .
9507037888 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./1a
7439821504 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./1a/foo
# mv 1a 12345678
# find . -ls
7439820480 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:14 .
9507037888 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./12345678
7439821504 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./12345678
# mv 12345678 123456789
# find . -ls
7439820480 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:14 .
9507037888 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./123456789
7439821504 64 drwxr-xr-x 1 root wheel 32768 Jun 17 08:16 ./123456789/foo

History

#1 Updated by memmerto over 1 year ago

I can confirm that this still happens on 3.2-RELEASE.

#2 Updated by tuxillo over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to tuxillo

Hi,

I'm able to reproduce it, let me see if I can track it down.

Cheers,
Antonio Huete

Also available in: Atom PDF