search for: zap_sector

Displaying 1 result from an estimated 1 matches for "zap_sector".

Did you mean: max_sector
2008 Jan 28
0
Integrating patches in SLES10 e2fsprogs
...ave it zap out all of these blocks. That said, the majority of them are in the first 68kB of the filesystem (mdraid excluded) so it shouldn't be too hard to zero them out. Let's hope nobody ever uses "0x00000000" as magic. mke2fs already tries to do this, though I notice: - the zap_sector() call will skip the entire write if there is a BSD bootblock, instead of skipping only the first sector(s) and overwriting the rest... Since I don't know much about BSD bootblocks, I don't know what the right behaviour is, but I can guess we still want to zero out 4-68kB (or whatever...