Re: vfat32 Free Cluster Count Update

2008-02-20 Thread Jan Engelhardt
On Feb 19 2008 19:23, OGAWA Hirofumi wrote: > >This problem was introduced by it ignores a free cluster count (not >"usefree"). If we was not using "usefree" option, FAT doesn't trust the >"free cluster count" anymore. > >So, it doesn't update until re-count. Um.. yes, it's a bit >problem. Ah.. i

Re: vfat32 Free Cluster Count Update

2008-02-19 Thread OGAWA Hirofumi
[EMAIL PROTECTED] writes: > (Or is 'df' simply a known way to force execution of a code path that ends up > fixing the counts as a side-effect?) Yes. df calls statfs(2), and FAT counts free clusters for ->f_ffree for it. Then, the free clusters count is fixed as a side-effect. -- OGAWA Hirofumi

Re: vfat32 Free Cluster Count Update

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 19:23:12 +0900, OGAWA Hirofumi said: > I'll dig it more, later. And for right now, please run "df" command, it > will fix free cluster count. Wow, that's a real kick in the head for all of us who have a mental concept of 'df' being basically a read-only program, and "fixing co

Re: vfat32 Free Cluster Count Update

2008-02-19 Thread OGAWA Hirofumi
Gunter Ohrner <[EMAIL PROTECTED]> writes: > Doesn't the Linux vfat driver update the FAT32's free cluster summary count? > > Zweiblum:~# dosfsck /dev/sda11 > dosfsck 2.11, 12 Mar 2005, FAT32, LFN > /dev/sda11: 2451 files, 28218/1918827 clusters > > Zweiblum:~# mount /dev/sda11 /mnt/win_daten/ > >

vfat32 Free Cluster Count Update

2008-02-16 Thread Gunter Ohrner
Hi! Doesn't the Linux vfat driver update the FAT32's free cluster summary count? Zweiblum:~# dosfsck /dev/sda11 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sda11: 2451 files, 28218/1918827 clusters Zweiblum:~# mount /dev/sda11 /mnt/win_daten/ Zweiblum:~# cp /etc/motd /mnt/win_daten/ Zweiblum:~#