Skip to content
Snippets Groups Projects
Commit ac8cee66 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Increase header search range to 4 MB

parent dc575b79
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ pub struct FileSystem {
impl FileSystem {
/// Open a file system on a disk
pub fn open(mut disk: Box<Disk>) -> Result<Self> {
for block in 0..4096 {
for block in 0..8192 {
let mut header = (0, Header::default());
try!(disk.read_at(block + header.0, &mut header.1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment