Using Linux:Managing the Filesystem
-->
Previous
Table of Contents
Next
Using Red Hats cabaret Tool
There are times when it is not possible to use Red Hats filesystem manager (fstool, discussed later in this chapter) under the X Window Systemfor example, when X doesnt run because it wasnt installed, or when X does run but too slowly, such as when you are on the wrong end of a slow Internet link. In these cases, it is useful to implement Red Hats cabaret program, which runs on any kind of text display (the text-mode console, or a terminal emulator on another computer, for example).
Starting cabaret
cabaret resides in the /usr/sbin directory with many of the administration programs (the others are stored in /sbin). You start it by typing the following:
..../usr/sbin/cabaret
Filesystem mount points
If you mount a filesystem on a directory, this hides anything that was previously there. When you unmount the filesystem, it is again visible.
Adding a New Local Filesystem by Using cabaret
If you want to add a filesystem on an unused part of a hard disk, you must make an empty partition first. Please see Chapter 7, Working with Hard Drives, for instructions on this. If the partition already exists, either because it belongs to another operating system, or because you just finished following the instructions in Chapter 7, please continue.
Adding a filesystem to an existing partition
1. Press the Tab key until the Add button is highlighted and then press Enter. (Alternatively, just press F2.)
2. Choose from the provided list the type of the filesystem that you want to add.
3. Select Add (as in step 1).
4. Type in the name of the directory in which you want to mount the filesystem (this directory must already exist; if you need to create it, you can back out of the current procedure by selecting Cancel).
5. In the Device text box, enter the name of the device containing the filesystem (for example, /dev/fd0 is the first floppy disk). Select Continue.
6. The Options dialog box that appears next allows you to change certain options for this filesystem. The defaults are usually appropriate. Click Done when you are finished.
7. Select Save and confirm that you want to save these changes to the /etc/fstab file by selecting Save in the Confirmation dialog box.
SEE ALSO For additional information on partitioning, formatting, and mounting other filesystems with Red Hats cabaret command, see page 106.
Adding a New Network Filesystem by Using cabaret
If you want to mount a network filesystem, you must first ensure that you can communicate over the network to the server machine. For more information about this, please see Chapter 27, Managing Network Connections. You also need to ensure that the remote machine permits you to mount its shared filesystems. You may need to consult with the administrator of that machine to confirm this.
Ensuring that you can communicate with the server
1. Start the cabaret command. Select Add from cabarets main menu.
2. Select the appropriate filesystem type (smb for a Windows share, or nfs, for example).
3. For nfs, give the name of the server in the Choose Remote System dialog box. Select one from the list of available filesystems provided.
For smb, you must instead give the name of the remote system, the name of the share, and where the filesystem should be mounted on your machine.
4. Select any options you require from the Options dialog box. The defaults are usually appropriate; for nfs, however, there is a separate Options dialog box, some of which it is useful to change. Select Done when you are finished.
5. Select Save from the main menu, and then confirm that you want to save these changes to the /etc/fstab file by selecting Save in the Confirmation dialog box.
SEE ALSO
For hints on partitioning your system during the installation process, see page 632.
To add or delete partitions on your hard disks, see page 106.
For instructions on adding Zip drives, see page 123.
For more information on networked filesystems, see page 461.
Previous
Table of Contents
Next
Wyszukiwarka
Podobne podstrony:
495 CHEMIA LEKÓW I STOPIEN05 (495)SL2008 497497 08495 Ewidencja kosztów w firmie usługowej494 497495 (2)index (495)Duett Ultra 497 SC497 04497 500497 03testwiedzy test 497497 01więcej podobnych podstron