From: Jamey Hicks (jamey.hicks@compaq.com)
Date: Sun Apr 21 2002 - 20:58:22 EDT
It's possible I fixed the vfat write problem. I made some changes for
directory reads and writes when the directory entries take more than 512
bytes.
Jamey
Sacha Chua wrote:
>
> On Sun, Apr 21, 2002 at 01:06:59AM +0000, Sacha Chua (sachac@subdimension.com) wrote:
>
> > > I am seeing several bugs with the 'vfat write' command
> > > I am using the latest bootldr, 2.18.38, retrieved today!
> > I know I tried these cases: file of length zero (using touch),
> > appending to a short file or truncating a long one.
>
> 2.18.39 appears to work. This is what I did to test:
>
> mkdosfs my /dev/hda1, so it's nice and clean.
> mount /dev/hda1 under /mnt/hda, with type vfat
> touch /mnt/hda/foo
> mkdir /mnt/hda/bar
> touch /mnt/hda/bar/baz
>
> Then I reset and entered the serial console.
>
> vfat write 0 foo 0x10
> ... wrote 0x10 bytes.
> vfat write 0 bar/baz 0x100
> ... wrote another 0x100 bytes.
>
> vfat ls shows the new sizes.
>
> vfat write 0 foo 0x100
> ... wrote 0x100 bytes.
>
> vfat ls shows the new sizes.
>
> booted into Linux, then used busybox cmp to compare the two files.
> Identical.
>
> Either I'm not testing right, or Jamey's already fixed it.. =)
> Could you give me a more detailed test case?
>
> Sacha 8)
> _______________________________________________
> Bootldr mailing list
> Bootldr@handhelds.org
> http://handhelds.org/mailman/listinfo/bootldr
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:04 EST