Mac os x web server - 164Part IIRunning the ShowIn this example, the partition
164Part IIRunning the ShowIn this example, the partition (/dev/hdb1) is mounted on the /abcdirectory asan ext3 file system. The defaultskeyword causes the partition to be mountedat boot time. The numbers 1 1cause the disk to be checked for errors. Addone line like this example for each partition you created. 15.Create the mount point. For example, to mount the partition on /abc(as shownin the previous step), type the following: # mkdir /abc16.Create your other mount points if you created multiple partitions. The nexttime you boot Linux, the new partition(s) will be automatically mounted onthe /abcdirectory. After you have created the file systems on your partitions, a nice tool for adjustingthose file systems is the tune2fscommand. You can use it to change volume labels, how often the file system is checked, and error behavior. You can also use it tochange an ext2 file system to an ext3 file system so the file system can use journal- ing. For example: # tune2fs -j /dev/hdb1tune2fs 1.35-WIP, (07-Dec-2003) Creating journal inode: doneThis filesystem will be automatically checked every 38 mountsor180 days, whichever comes first. Use tune2fs -c or -i tooverride. By adding the -joption to tune2fs, you can change either the journal size or attachthe file system to an external journal block device (essentially turning a nonjournal- ing ext2 file system into a journaling ext3 file system). After you use tune2fstochange your file system type, you probably need to correct your /etc/fstabfile toinclude the file type change (from ext2 to ext3). Checking System SpaceRunning out of disk space on your computer is not a happy situation. You can usetools that come with Linux to keep track of how much disk space has been used onyour computer, and you can keep an eye on users who consume a lot of disk space. Displaying System Space with dfYou can display the space available in your file systems using the dfcommand. Tosee the amount of space available on all the mounted file systems on your Linuxcomputer, type dfwith no options: