lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46274407.8010602@panasas.com>
Date:	Thu, 19 Apr 2007 13:27:19 +0300
From:	Boaz Harrosh <bharrosh@...asas.com>
To:	Linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Wrong free clusters count on FAT32

DervishD wrote:
>     Hi all :)
> 
>     I have a portable device with a FAT32 formatted hard disk in it, and
> everytime I delete a file in the device *using the device itself to do
> it* the device increases its count of free space and if I plug the
> device in a Windows system, Windows agrees on the free space. Linux
> doesn't. Linux believes that the files are still there ocuppying space,
> and I have to run fsck.vfat to fix the problem.
> 
>     As far as I've seen, the device is probably not updating correctly
> the list of free clusters, but it doesn't seem to worry about it,
> neither does Windows. So my question is: is there any way of making
> Linux "bug compatible" with Windows? If Windows itself don't worry about
> the free cluster count and computes the free space in some other way,
> then it can be done. I haven't seen anything in mount(8) neither
> googling.
> 
>     Apart from not using the device itself to delete files (and probably
> not using Windows for that, either) and to run fsck.vfat now and then,
> is anything I can do to avoid this problem?
> 
>     Thanks a lot in advance :)
> 
>     Raúl Núñez de Arenas Coronado
> 
Not that I know how to fix it. But have you tried running chkdsk on a
device deleted files in windows. Just that I know, that windows would
silently ignore fat errors and will only report them in chkdsk.

Deleting files in windows works fine. There is no problems with it and
windows updates everything. I do that all the time.
(I would even theorize that if you delete files on the device and than farther
delete more files on windows, than windows will fix the problem on the fly)
So it is "bug compatible" with the device, and error recovery
compatible with windows.

Boaz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ