Opened 14 years ago

Last modified 14 years ago

#179 closed defect

Cannot write data to FAT (ENOSPC) — at Initial Version

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.4.2
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

As of revision head,236 if I create a file system with HelenOS mkfat or dosfstools mkdosfs, I cannot write data to it. Steps to reproduce with ia32 target:

With mkfat:

$ dd if=/dev/zero of=img bs=1024k count=32
$ qemu -m 32 -hda img -cdrom image.iso -boot d
# ata_bd
# mkfat bd/disk0
# mkdir /fat
# mount fat /fat bd/disk0
# mkfile --size 32k /fat/test
mkfile: Error writing file (-259).

With mkdosfs:

$ dd if=/dev/zero of=img bs=1024k count=32
$ losetup /dev/loop0 img
$ mkdosfs /dev/loop0
$ losetup -d /dev/loop0
$ qemu -m 32 -hda img -cdrom image.iso -boot d
# ata_bd
# mount fat /fat bd/disk0
# mkfile --size 32k /fat/test
mkfile: Error writing file (-259).

The situation is similar to ticket #168 but this time even fat with standard root directory size is affected.

Change History (0)

Note: See TracTickets for help on using tickets.