On Sun, Apr 21, 2002 at 01:06:59AM +0000, Sacha Chua (sachac_at_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)
Received on Sun Apr 21 2002 - 09:43:33 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:10:43 EDT