| United States-English |
|
|
|
![]() |
HP CIFS Client A.01.09 Administrator's Guide: HP-UX 11.0 and 11i version 1 and 2 > Chapter 2 Installing,
Configuring, and Using the HP CIFS ClientMore on Mounting CIFS Filesystems |
|
In addition to the mount command discussed in the previous section, which was used to explicitly create a single mount, there are other methods to manage the mounting of CIFS file systems. See the reference for mount_cifs and umount_cifs in Chapter 4 for syntax details not contained in this section. By creating entries in /etc/fstab you can mount CIFS filesystems automatically at boot time, or mount multiple CIFS file systems on one or more CIFS Servers, with a single command entered manually. The format for such entries is: server:/share mount_point cifs defaults 0 0 Then, to mount all CIFS entries in /etc/fstab manually, enter: $ mount -aF cifs To unmount all currently mounted CIFS filesystems, enter: $ umount -aF cifs These commands will occur automatically, at bootup and shutdown, if the system is configured to start the CIFS Client at bootup, as explained above.
The root user has the option to mount a CIFS filesystem and login to the CIFS Server in one step, obviating the need to explicitly issue the cifslogin command. Using the names from the examples above: $ mount -F cifs -o username=x,password=y buildsys:/source home/dev1/source where x and y are the name and password pair recognized by the server. The cifsmount and cifsumount commands provide equivalent functionality to mount and umount, but HP discourages their use.They require different syntax and may not be available in future releases of the HP CIFS Client. man pages for these commands are provided in Chapter 5 of this manual for historical reasons. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||