use fmt; use bfs; use io; use fs; use os; export fn main() void = { //const file = os::open("fs.img", fs::flags::RDWR)!; //defer io::close(file)!; //const filesystem = bfs::open(file)!; //defer bfs::close(filesystem)!; //for (let i = 150; i <= 190; i += 1) // bfs::freeinode(filesystem, i: u64)!; //bfs::freeinode(filesystem, 1484)!; //bfs::freeinode(filesystem, 1485)!; //bfs::freeinode(filesystem, 1486)!; //bfs::freeinode(filesystem, 1487)!; //const inid = bfs::allocinode(filesystem)!; //const blockid = bfs::allocblock(filesystem)!; //bfs::bootsector_make(filesystem.bootsector, 1); //fmt::println(inid)!; //bfs::allocblock(filesystem)!; // bfs::freeblock(filesystem, 8)!; // bfs::freeblock(filesystem, 9)!; // bfs::freeblock(filesystem, 10)!; return; };