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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Apr 2008 15:10:30 -0400
From:	Josef Bacik <jbacik@...hat.com>
To:	linux-ext4@...r.kernel.org
Subject: [RFC] FIEMAP on ext3

Hello,

Obviously ext3 doesn't have extents, however it would still be usefull to use it
on sparse files in order to find data/holes within a file.  What I'm thinking is
treat contigous allocated blocks as an extent, and contiguous non-allocated
blocks as extents.  So for example, with Eric's fiemap test program, on a normal
non-sparse file you would only see one large extent for the entire file.  In the
case of a file that has data, hole and then data you would see 3 extents, two
for the two spans of data and one for the span of holes.
FIEMAP_FLAG_NUM_EXTENTS would in that case return 3.  Does this sound like an
acceptable thing to do?  If not, are there any other suggestions on how to do
fiemap in ext3?  Thanks much,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ