#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:


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 Jan 26, 2017 at 7:16:00 AM by Sebastian Huber


comment:2 Changed on Feb 15, 2017 at 1:44:44 PM by Sebastian Huber

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

comment:3 Changed on Feb 28, 2017 at 7:31:36 AM by Sebastian Huber

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

comment:5 Changed on Oct 10, 2017 at 6:50:58 AM by Sebastian Huber

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