auto-autofs.rc |
auto-autofs.rc - Global configuration file for the auto-autofs manpage
In this order the IDE and SCSI bus are scanned. For possible entries see name in %conf::device_options.
Syntax: (``name'',...)
List of cdrom types For possible entries see name in %conf::device_options.
Syntax: (``name'',...)
File name, that contains information about the installed cdroms.
Auto-autofs will use fdisk to detect the partitions by this types.
Syntax: (``media'',``mediatype'', ... )
If the mediatype of an media equal to removable
then its a removable disk
and the media would be print even when no partition is found.
Set ``part'' to removable, to disable label support.
Setting for creating symbolic links to the devices. For example: /dev/cdrom --> /dev/sr0. Each device can be configured wether a link is created or not. (see %conf::device_options). Be carefully. Existing links will be overwritten. Links for devices media will be created. Leave empty to disable this feature.
Syntax: (``media'', ``empty'' ... )
Info for devices: mount options, icons, names etc.
Syntax: (``name'', ['description','partitionNo', ['media','type IDE','type SCSI', ,'boot info','cdrom cabablities'], 'partitionID', 'icon', create_symlink], ... );
partitionID is a entry in %conf::partition_types. (see %conf::partition_types).
partitionNo is the default partition for removable disks, when no disk is in the drive.
For loopback: media is the file extension for loopback files.
File name of icon for fstab entries. See also $local::icon_path in the auto-autofs.rc.local manpage
File name of icon for vorbidden entries. See also $local::icon_path in the auto-autofs.rc.local manpage
When a filesystem detected and its listed here, then it is not accessable. For possible names see description in %conf::partition_types.
Syntax: (``name'', '', ...)
Adds label support. Leave empty to disable this feature. command should return only the label of the <fstype>. When the command successfully return, but the label is empty, the standard name will be used. If the command fails, the next filesystem is tested.
Also used for getting information about loop back files, if there a fs type is specified.
label is the default label from the filesystem. If this name is found, it isn't used. string is a regular expression and used for validating the filesystem. The string have to be in the output, and will be removed.
Syntax: (``fstype'', ['command',``label'',``string''], ...)
Attention: getting the name with dd, is dangerous because there is no validation about the filesystem type. Be Carefully.
I don't know how to handle spaces or other special characters in such names. Replace with ``_'' or what?
See also %conf::use_fdisk.
The following filesystems are supported: reiserfs, ext2, ext3, vfat, iso9660, and udf. Only without label: ntfs and minix.
Also Music and Video CD's were detected, please consult the README for this.
When you know a solution, how to read labels from other filesystems, please mail me.
The filesystems are configured here. partitionID is the number returned by fdisk or speciel entries like unkown or cdrom. icon is the file name of the icon. See also $local::icon_path in the auto-autofs.rc.local manpage
Syntax: (``partitionID'',['description' [['fstype','mount options',icon], ... ] ], ...)
mount options could be a variable, which is defined in auto-autofs.rc.local (see $local::fs_options in the auto-autofs.rc.local manpage).
I only use vfat, ext2 or reiserfs. Please, mail me changes.
Peter Korf, <peter@niendo.de>.
the auto-autofs manpage, the auto-autofs.rc.local manpage.
auto-autofs.rc |