[Tux Gif]
 Linux System Administration

Filesystems


Adding A New Filesystem
    1. Use fdisk to create a new partition.
    2. The kernel needs to be aware of the new partition table, so either reboot or run partprobe.
    1. We need to add a filesystem to the new partition.
    1. We now need to mount the partition. Let's call the partition "NEW"
    1. Create any needed mount points.
    2. Add a line to /etc/fstab to mount this new partition at boot time.
[mlevan@localhost Filesystems]$ more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hdb3               /                       ext3    defaults        1 1
/dev/hdb1               /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdb2               /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hdb4               /usr                    ext3    defaults        1 2
/dev/hdb5               swap                    swap    defaults        0 0
/dev/hdd                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/dvd              auto    pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
/dev/hda6               /NEW                    ext3    defaults        1 2


Prev                Page 11                Next