If there are any 0s le at the end put those blocks on

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: le contents area that contain 128 4B pointers to 512B blocks holding file data) 31 May 2012 Disks and File Systems 41 University of Washington And …   Can get to 128 x 128 x 128 x 512B = an addi<onal 1GB with a triple indirect reference   (the 13th pointer in the i ­node gets you to a 512B block in the file contents area that contains 128 4B pointers to 512B blocks in the file contents area that contain 128 4B pointers to 512B blocks in the file contents area that contain 128 4B pointers to 512B blocks holding file data)   31 May 2012 Maximum file size is 1GB + a smidge Disks and File Systems 42 University of Washington And then …   A later version of Bell Labs Unix u<lized 12 direct pointers rather than 10   Why?   Berkeley Unix went to 1KB block sizes   What’s the effect on the maximum file size? 256x256x256x1K = 17 GB + a smidge   What’s the price?     Subsequently went to 4KB blocks   1Kx1Kx1Kx4K = 4TB + a smidge 31 May 2012 Disks and File Systems 43 University of Washington Puung it all together   The file system is just a huge data structure superblock directory ‘/’ inode for ‘/’ (table of entries) ••• directory ‘var/’ directory ‘usr/’ inode for (table of entries) ‘usr/’ inode for ••• inode for ‘var/’ ••• ‘bigfile.bin’ data blocks indirection inode file block free list free list (table of entries) block indirection b...
View Full Document

This document was uploaded on 04/04/2014.

Ask a homework question - tutors are online