Download File
Transcript
Fstab 34 The lines ending on a backslash need to be connected, they just did not fit here on the same line. I put all the files into the directory /usr/local/lib/X11/fonts/75dpi and added that directory to the X11 font path in /var/X11R6/lib/XF86Config. Notice that changing the encoding information is really a hack, but it works for Netscape. 34 Fstab Files: /etc/fstab The file /etc/fstab contains information about mount points for the file systems. For a file system to be mounted at boot time it has to be listed here. It also allows to specify properties other than the defaults. Finally, all systems listed here can be mounted by just typing mount followed by the mount point. The lines contain device, mount point, type, options, and two numbers. The first number is used for backup purposes, it gives the number of days between backups, should be zero for swap partitions. I do not use any programs that use that number. The second number is used by fsck as a pass number. The program fsck checks existing file systems. If there is more than one file system, then the pass number can be used to specify the order in which they are checked. By default file systems are checked in parallel. The root system must have pass number 1, and two file systems on the same drive should have different numbers. The options are as follows. rw for read/write, ro for read only, suid to allow set-user or set-group bits to be effective, dev to interpret special character or block devices, exec to allow for executable binaries, auto to be able to mount it with mount -a, user to allow ordinary users to mount it, async to provide buffering of read/write, and defaults stands for rw, suid, dev, exec, auto, nouser, and async. Notice that DOS partitions have no SUID or SGID bits. /dev/hda2 / ext2 defaults 1 1 /dev/hda5 /usr ext2 defaults 1 2 /dev/hda6 /home ext2 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 /dev/hda3 swap swap defaults 0 0 /dev/hdc /cdrom iso9660 ro,suid,dev,exec,auto,user,async 1 0 /dev/fd0 /a/linux ext2 rw,suid,dev,exec,noauto,user,async 1 0 /dev/fd0 /a/minix minix rw,suid,dev,exec,noauto,user,async 1 0 /dev/fd0 /a/dos msdos rw,nosuid,dev,exec,noauto,user,async 1 0 /dev/fd0 /a/win vfat rw,nosuid,dev,exec,noauto,user,async 1 0 /dev/hda1 /c vfat rw,nosuid,dev,exec,auto,user,async 1 2 /dev/sda1 /zip/linux1 ext2 rw,suid,dev,exec,noauto,user,async 1 0 /dev/sda1 /zip/dos1 msdos rw,nosuid,dev,exec,noauto,user,async 1 0 /dev/sda1 /zip/win1 vfat rw,nosuid,dev,exec,noauto,user,async 1 0 /dev/sda4 /zip/linux4 ext2 rw,suid,dev,exec,noauto,user,async 1 0 /dev/sda4 /zip/dos4 msdos rw,nosuid,dev,exec,noauto,user,async 1 0 /dev/sda4 /zip/win4 vfat rw,nosuid,dev,exec,noauto,user,async 1 0 35 Ftape Ftape is part of the kernel since Linux-2.0.0.