Anonymous web server - Chapter 4 . Learning Basic Administration 161 drives
Chapter 4 . Learning Basic Administration 161 drives are not mounted at boot time. Definitions are put in the fstab file for floppy and CD drives so that they can be mounted in the future (as described later). I also added one line for /dev/hda1, which enables me to mount the Windows (vfat) partition on my computer so I don t have to always boot Windows to get at the files on my Windows partition. To access my Windows partition, I must first create the mount point (by typing mkdir /mnt/win). Then I can mount it when I choose by typing (as root) mount /mnt/win. Different Linux distributions will set up their fstab file differently. Some don t use labels and many others don t use a separate /boot partition by default. They will just have a swap partition and have all user data under the root partition (/). Here is what s in each field of the fstab file: . Field 1 The name of the device representing the file system. This field can include the LABEL option, with which you can indicate a universally unique identifier (UUID) or volume label instead of a device name. The advantage to this approach is that because the partition is identified by volume name, you can move a volume to a different device name and not have to change the fstab file. . Field 2 The mount point in the file system. The file system contains all data from the mount point down the directory tree structure unless another file system is mounted at some point beneath it. . Field 3 The file system type. Valid file system types are described in the Supported File Systems section earlier in this chapter. . Field 4 Options to the mount command. In the preceding example, the noauto option prevents the indicated file system from being mounted at boot time, and ro says to mount the file system read-only (which is reasonable for a CD drive). Commas must separate options. See the mount command manual page (under the -o option) for information on other supported options. Normally, only the root user is allowed to mount a file system using the mount command. However, to allow any user to mount a file system (such as a file system on a floppy disk), you could add the user option to Field 4 of /etc/fstab. In SUSE, read/write permissions are given to specific devices (such as disk or audio devices) by specific groups (such as the disk or audio group) so that users assigned to those groups can mount or otherwise access those devices. In the YaST Control Center, choose the Security and Users.User Management.Expert Options.Defaults for New Users. The Secondary Groups box indicates which of these additional groups each user is assigned to. Tip Note
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision tomcat hosting services