/* * (c) Copyright Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package dev; public class DevAFS { // De-mess top level directories. // http://www.mongodb.org/display/DOCS/BSON /* Storage toys * + FileHeader can contain quite a lot of info. ==> metafile. * + Variable length entries * * Classes: * Fix length for logical-physical. * Three files: * Data file - raw bytes * Offset file - (size, location) slots * -size => free * Free block file - (id, next) for a singly linked list * List starts are firts few blocks where (id = -max size , next=start) * Or: minimum size for a (fiuxed) chunk includes space for the free chain to be managed */ }