login
Header Space

 
 

Re: [patch 0/6][RFC] Cleanup FIBMAP

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anton Altaparmakov <aia21@...>
Cc: Mike Waychison <mikew@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Saturday, October 27, 2007 - 5:45 pm

On Sat, 27 Oct 2007, Anton Altaparmakov wrote:


In practice, the meaning of 0 is file system [driver] dependent. For 
example in case of NTFS-3G it means that the block is sparse or the file is 
encrypted or compressed, or resident, or it's the $Boot file, or an error 
happened.

Thankfully the widely used FIBMAP users (swapon and the ever less used 
lilo) are only interested in the non-zero values and they report an error 
if the driver returns 0 for some reason. Which is perfectly ok since both 
swaping and Linux booting would fail using a sparse, encrypted, compressed, 
resident, or the NTFS $Boot file. 

But in real, both swap files and lilo work fine with NTFS if the needed 
files were created the way these softwares expect. If not then swapon or 
lilo will catch and report the file creation error.

Afair, somebody is doing (has done?) an indeed much needed, better 
alternative. Bmap is legacy, thank you Mike for maintaining it.

	Szaka

--
NTFS-3G Lead Developer:  http://ntfs-3g.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Fri Oct 26, 7:37 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, H. Peter Anvin, (Sat Oct 27, 8:43 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Anton Altaparmakov, (Sat Oct 27, 1:57 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 10:10 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Andreas Dilger, (Mon Oct 29, 3:47 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 12:30 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:18 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:00 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 7:06 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Wed Oct 31, 12:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 1:17 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 3:46 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:01 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Szabolcs Szakacsits, (Sat Oct 27, 5:45 pm)
speck-geostationary