Documente Academic
Documente Profesional
Documente Cultură
File System
Magnetic Media
Optical Media
04/15/12
File System of OS
Windows 2000
Windows XP
04/15/12
Linux Swap
is used in virtual memory system is used to store file there is various type of file system
ext2 ( is first introduced in kernel 2.0.x ) reiserfs ( is first introduced in kernel 2.2.x ) ext3 ( is first introduced in kernel 2.4.x )
04/15/12
Windows
NTFS, FAT
Linux
ext2,ext3
Reference Root of each Each partition will be Each partitions is partition point own root mounted under / Ex. C:, D:, F:
04/15/12
/
/etc /boot /dev /usr /home /proc
/var spooling /lib - contain shared library that is required by system program /tmp - contain system temporary file
- first of mount point in linux - keep linux default configuration - keep important linux booting files - keep all device files - keep all user binary and X library - keep user home directory - is pseudo file system for tracking running process and state of linux system - keeping mail, log file and printer
04/15/12
hda1
/var
Using mount command
/home
hda4
type ex. ext2, ext3, reiserfs, device ex. /dev/hda1, /dev/hdb1, target-dir ex. /, /var, /home, /mnt/cdrom,
7
04/15/12
hda1,ext2
/var
/home
hda4,ext2
04/15/12
Check current mounted by using mount command without parameter Example result for checking current mounted partition
04/15/12
Example
umount /var
Or
umount /hda1
10
04/15/12
04/15/12
11
Assume we would like to add windows partition (hdb1, FAT32) that linux have to mount at boot time at /mnt/windows
file system = /dev/hdb1 mount point = /mnt/window type = vfat Options = defaults Dump = 0 Pass = 1
12
04/15/12
From the previous information, we have to add following line in /etc/fstab files
/dev/hba1 /mnt/windows vfat defaults 0 0
04/15/12
13
Conclusion
ext3 file system ext2 file system mount t type device target-dir umount device | umount target-dir /etc/fstab
14
Mount/Un-mount command
04/15/12