1 / 8

File Systems

File Systems. Superblock. First item to be read Disk's geometry Avaliable space Location of the first i-node Mutiple copies of superblock Placed at the end of every group of blocks Group = 8192 blocks Redendant superblocks @ 8193, 16385. File Systems .

levi-medina
Download Presentation

File Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. File Systems

  2. Superblock First item to be read Disk's geometry Avaliable space Location of the first i-node Mutiple copies of superblock Placed at the end of every group of blocks Group = 8192 blocks Redendant superblocks @ 8193, 16385

  3. File Systems Once established - not much maintenance Geo-political problems Ownership of disk Users who do not perform housekeeping Administrative policies

  4. Mounting & Unmounting Local Disks Disk layout of dual boot system /dev/hda1(2) - Win9x filesystem /dev/hda3 - Linux partition To mount/unmount floppy drive Mount -t vfat /dev/fd0 /mnt/floppy Umount /mnt/floppy - before ejecting floppy In dual boot - to mount/unmount Win9x partition Mount /dev/hda1 /mnt/win98 Umount /mnt/win98

  5. Partitioning a Disk Divides the disk up Each partition acts like a disk Once partition is full - cannot "overflow" Reasons to partition Dual boot system Keep usage of space on one partition from impacting another partition Operating system Home directories

  6. Paritioning a Disk IDE disks /dev/hdX, where X=a -z, the actual disk /dev/hda1 - first partition on the first IDE disk /dev/hda2 - second partition on the first IDE disk /dev/hdb1 - first partition of the second IDE disk SCSI disks /dev/sdX, where X=a-z, the actual disk /dev/sda1 - first partition on the first SCSI disk /dev/sdc2 - second partition on the third SCSI disk

  7. Disk Partitions / - root partition, core system files /usr - system software such as user tools /var - files that change a lot - message logs /tmp - similar to /var /home - user home directories Swap - to hold virtual memory - usually the same size as system RAM

  8. Automounter (NIS/NFS) Used in large installations A method by which the filesystem mounts can be centrally controled Automounter map is distributed by NIS Daemon - /etc/rc.d/init.d/autofs Primary configuration file /etc/auto.master

More Related