Changes

Linux CIFS Utils and Samba

1,638 bytes added, 04:57, 24 February 2021
/* AutoFS can be used to replace Gigolo */
The following lines were added (+) and removed (-):
The autofs filesystem module is only one part of an autofs system. There also needs to be a user-space program which looks up names and mounts filesystems. This will often be the "automount" program, though other tools including systemd can make use of autofs. Then autofs is a Linux kernel module with provides the autofs ilesystem type.  Auto-mounts are mounted only as they are accessed, and are unmounted after a period of inactivity. Because of this, automounting NFS/Samba shares conserves bandwidth and offers better overall performance compared to static mounts via fstab.#automount is the program used to configure a mount point for autofs. When autofs is started, an automount daemon is spawned for each map.#Auto-mount or auto-mounting refers to the process of automatically mounting filesystems.#autofs is the program that controls the operation of the automount daemons.  Install the autofs package either by clicking here or entering the following in a terminal window: sudo apt install autofsTo configure autofs you will need to edit configuration files.  The master configuration file for autofs is /etc/auto.master by default. When specifying a CIFS share in a map file, specify -fstype=cifs and precede the share location with a colon (:). mntpoint -fstype=cifs ://example.com/shrnameExample: Mount read-write, specifying a user and group to own the files: mntpoint -fstype=cifs,rw,uid=myuserid,gid=mygrpid ://example.com/shrnameExample: Mount read-write, specifying a username and password to use to connect to the share: mntpoint -fstype=cifs,rw,username=myuser,password=mypass ://example.com/shrname
Bureaucrat, administrator
16,192
edits