#2755 closed defect (fixed)

FAT mkdir() broken

Reported by: snob-wolpike Owned by: Sebastian Huber
Priority: normal Milestone: 4.11.2
Component: fs/fat Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

FAT implementation in RTEMS incorrectly create directories. Reproducing is extremly simple:

  • Run any application using 'mkdir()' on mounted FAT partition.
  • Run fsck under any operating system (Linux, MacOSX, Windows)
  • You will get smth like this:
sudo fsck_msdos /dev/rdisk3s1
** /dev/rdisk3s1
** Phase 1 - Preparing FAT
** Phase 2 - Checking Directories
Directory /0 has size != 0
Correct? [yn]

Both 4.11 and 4.12 have this bug.

Change History (5)

comment:1 Changed on 01/26/17 at 07:16:00 by Sebastian Huber

Milestone: 4.11.14.11.2

comment:2 Changed on 02/15/17 at 13:44:44 by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: set to Needs Funding
Status: newassigned

comment:3 Changed on 02/28/17 at 07:31:36 by Sebastian Huber

Milestone: Indefinite4.11.2
Owner: changed from Needs Funding to Sebastian Huber

comment:5 Changed on 10/10/17 at 06:50:58 by Sebastian Huber

Component: fsfs/fat
Note: See TracTickets for help on using tickets.