diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt.conf.5.yo | 6 | ||||
-rw-r--r-- | doc/examples/apt.conf | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo index 145be2294..b089f9b0a 100644 --- a/doc/apt.conf.5.yo +++ b/doc/apt.conf.5.yo @@ -125,6 +125,10 @@ or for a specific host (See the sample config file for examples) dit(bf(cdrom)) CDROM URIs; the only setting for CDROM URIs is the mount point, cdrom::Mount which must be the mount point for the CDROM drive as specified in /etc/fstab. +It is possible to provide alternate mount and unmount commands if your +mount point cannot be listed in the fstab (such as an SMB mount). The syntax +is to put "/cdrom/"::Mount "foo"; within the cdrom block. It is important to +have the trailing slash. Unmount commands can be specified using UMount. enddit() @@ -204,7 +208,7 @@ manpagesection(EXAMPLES) bf(/usr/doc/apt/examples/apt.conf) contains a sample configuration file showing the default values for all possible options. -mapagesection(FILES) +manpagesection(FILES) /etc/apt/apt.conf manpageseealso() diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf index 3895a57b5..4e9ec1660 100644 --- a/doc/examples/apt.conf +++ b/doc/examples/apt.conf @@ -1,4 +1,4 @@ -// $Id: apt.conf,v 1.28 1999/03/15 23:05:49 jgg Exp $ +// $Id: apt.conf,v 1.29 1999/04/03 01:05:25 jgg Exp $ /* This file is an index of all APT configuration directives. It should NOT actually be used as a real config file, though it is a completely valid file. @@ -97,7 +97,14 @@ Acquire cdrom { - Mount "/cdrom"; + Mount "/cdrom"; + + // You need the trailing slash! + "/cdrom/" + { + Mount "sleep 1000"; + UMount "sleep 500"; + } }; }; @@ -171,4 +178,5 @@ Debug pkgInitialize "false"; // This one will dump the configuration space NoLocking "false"; Acquire::Ftp "false"; // Show ftp command traffic + aptcdrom "false"; // Show found package files } |