|The Archive Menu||Menu Sections||The Tools menu|
This is where you can Mount and Unmount other partitions, ISO images and network mounts. Devices, such as cdroms and usb pendrives, are managed from their toolbar icons: see here.
Linux distros vary in how they deal with other partitions. Older distros ignore them, and most current ones still do so. However some now will detect and automatically mount all the partitions on your disc.
If your partitions are not automatically mounted, you can do it yourself using the Mount a Partition menu item. Selecting this will bring up a dialog that lists any unmounted partitions in /etc/fstab, together with their mount-points; that is, ones that an ordinary user can (probably) mount. If the partition that you're interested in is there, select it and click OK. The partition will be mounted, and should be displayed in the active pane.
If the partition wasn't listed, click the Mount a non-fstab partition button. A different dialog will appear, listing all the other available partitions. This time you have to enter your own choice of mount-point: if this doesn't exist, 4Pane will offer to create it. Alternatively, you can use the Browse button which will open a Select a Directory dialog, starting at the contents of /mnt/.
Underneath the mountpoint is an Options section; there are several of these available, which you'll probably never want to use.
For non-fstab partitions you will then be asked for a password. In most distros this will be the root, superuser, password; in sudo-using ones like *buntu it will be your own password.
To Unmount a partition, use the next item, Unmount a Partition. A dialog will appear that lists the currently-mounted partitions and their mount-points. Select the one you want. Again you might have to provide a password.
Next comes Mount an ISO image. An ISO image is the image, on your hard-disc, of a cdrom or dvd. A common example is downloading a different Linux distro; this goes first to your hard-disc, then you burn the image onto a dvd. However it's sometimes useful to "look inside" the image, perhaps to extract a file from it.
Select the image in the current pane, then choose this menu-item. In the dialog, choose where to mount the image. After you provide your password, the image will be mounted, read-only, as though it were a cdrom. When you've finished with it, use Unmount a Partition to unmount it.
The rest of this menu deals with network mounts: NFS, sshfs and samba. Be aware that 4Pane doesn't set up NFS, ssh or samba for you. Getting the appropriate daemons and utilities running, poking holes in your firewall etc; you have to have done such things yourself, perhaps with your distro's help. Then 4Pane will help you mount/unmount exports, shares etc over the network.
First in this section is Mount an NFS export. At the top of resulting dialog you should see a list of known NFS servers, and the exports associated with the selected one. If the export is currently mounted, this will be stated alongside. 4Pane reads /etc/fstab to try to find servers, and remembers previous ones, but you can add missing ones by clicking the "Add" button.
Below this is a place for the mount-point for your selected export. If the export is in /etc/fstab this will automatically have been filled, otherwise you need to enter one yourself.
Lastly you need to choose how the export should be mounted: a Hard Mount is fine while it works, but if something goes wrong your computer may hang. A Soft Mount won't do this (or not for long), but might lose data.
After entering your password (if the export isn't in fstab) the current pane will display the mounted export, which can be manipulated just as though it were on your computer.
Next is Mount over Ssh using sshfs. Sshfs lets you mount a directory located on a remote server. For this to work you need to have fuse and sshfs installed (if they aren't, this item will be missing from the menu); you also need ssh access to the server.
In the dialog you must fill at least the Host name and Local mount-point fields. You can also choose the remote username and 'base' directory; otherwise your local username and its 'home' directory will be used. Add any options you wish; make sure they are valid, though, as 4Pane doesn't check them, and mistakes will cause the mount to fail. Note that there is no password field. If you haven't set up password-less logins to that server, you should install ssh-askpass to provide the password.
If the mount succeeds, after a short delay the active pane will change to display the mount. If it fails, a statusbar message will eventually appear.
The Mount a Samba share item produces a similar dialog. Select a server and one of its shares, then enter a mount-point. Below you choose whether to try to mount anonymously, or supply a username and password; and whether to mount read-only.
NFS, sshfs and samba mounts are unmounted using the last menu-item, Unmount a Network mount.