[ Pobierz całość w formacie PDF ]
.The only times they will care will be if a partition runs out of space or if they need tosave or use information from a particular device (such as a floppy disk or file system on another computer).Of course, any user can check this by simply typing the mount command.For a personal Red Hat Linux system, I don t see much need for different partitions.Many people just mounttheir entire file system on root (/).Then, they just have to make sure that the entire file system doesn t run outof room.Mounting file systemsMost of your hard disks are mounted automatically for you.When you installed Red Hat Linux, you wereasked to create partitions and indicate the mount points for those partitions.When you boot Red Hat Linux, allLinux partitions should be mounted.For that reason, this section focuses mostly on how to mount other typesof devices so that they become part of your Red Hat Linux file system.Besides being able to mount other types of devices, you can also use mount to mount other kinds of filesystems on your Linux file systems.This means that you can store files from other operating systems or usefile systems that are appropriate for certain kinds of activities (such as writing large block sizes).The mostcommon use of this feature for the average Linux user, however, is to allow that user to obtain and work withfiles from floppy disks or CD-ROMs.Supported file systemsTo see file system types that are currently in use on your system, type cat /proc/filesystems.The followingfile system types are supported in Linux."ext3 The ext file systems are the most common file systems used with Linux.The ext3 file systemis new for Red Hat Linux 7.2 and is used as the default file system type.The root file system (/) mustbe ext3, ext2, or minux.The ext3 file system is also referred to as the Third Extended file system.Theext3 file system includes journaling features that improves a file system's ability to recover fromcrashes, as compared to ext2 file systems."ext2 The default file system type for previous versions of Red Hat Linux.Features are the same asext3, except that ext2 doesn't include journaling features."ext This is the first version of ext3.It is not used very often anymore."iso9660 This file system evolved from the High Sierra file system (which was the original standardused on CD-ROM).By adding extensions to that standard (called Rock Ridge extensions), the filesystem can support long filenames and UNIX-style information (such as file permissions, ownership,and links)."minix This is the Minix file system type, used originally with the Minix version of UNIX.This filesystem type only supports filenames up to 30 characters."msdos This is an MS-DOS file system.You can use this type to mount floppy disks that comefrom Microsoft operating systems."umsdos This is an MS-DOS file system with extensions to allow features that are similar to UNIX(including long filenames)."proc This is not a real file system, but rather a file system interface to the Linux kernel.Youprobably won t do anything special to set up a proc file system.However, the /proc mount pointshould be a proc file system.Many utilities rely on /proc to gain access to Linux kernel information."swap This is used for swap partitions.Swap areas are used to temporarily hold data when RAM iscurrently used up.Data is swapped to the swap area, then returned to RAM when it is needed again."nfs This is the Network File System (NFS) type of file system.File systems that are mounted fromanother computer on your network use this type of file system.Cross-Reference Information on using NFS to export and share file systems over a network is contained inChapter 18, "Setting Up a File Server.""hpfs This file system is used to do read-only mounts of an OS/2 HPFS file system."ncpfs This relates to Novell NetWare file systems.NetWare file systems can be mounted over anetwork.Cross-Reference For information on using NetWare file systems over a network, see the section on settingup a file server in Chapter 18."ntfs This is the Windows NT file system.It is supported as a read-only file system (so that youcan mount and copy files from it).Read-write support is available, but not built into the kernel bydefault and is considered unreliable (some say, dangerous)."affs This file system is used with Amiga computers."ufs This file system is popular on Sun Microsystems operating systems (i.e., Solaris and SunOS)."xenix This was added to be compatible with Xenix file systems (one of the first PC versions ofUNIX).The system is obsolete and will probably be removed at some time."xiafs This file system supports long filenames and larger inodes than file systems such as minux."coherent This is the file system type used with Coherent or System V files.Like the xenix filesystem type, it will be removed some time in the future.Using the fstab file to define mountable file systemsThe hard disks on your local computer and the remote file systems you use every day are probably set up toautomatically mount when you boot Linux.The definitions for which of these file systems are mounted arecontained in the /etc/fstab file
[ Pobierz całość w formacie PDF ]