summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-10 11:13:44 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-10 11:13:44 +0100
commitc9952021ba65db0581f6053cd6d6e8bf7d563e8f (patch)
tree01065683f59fc1eb8ddc025d79a26fdf31a8623e /doc/examples
parent02aa6f67360bbd8f15c29fb0701badda99fc8c75 (diff)
* apt-pkg/contrib/cdromutl.{cc,h}, apt-pkg/cdrom.{cc,h}:
- deal with missing FSTAB_DIR when using libudev to discover cdrom - add experimental APT::cdrom::CdromOnly option (on by default). When this is set to false apt-cdrom will handle any removable deivce (like a usb-stick) as a "cdrom/dvd" source
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 03a37287d..6884e06e3 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -265,7 +265,10 @@ Acquire
cdrom
{
// do auto detection of the cdrom mountpoint
- AutoDetect "true";
+ AutoDetect "true";
+ // when auto-detecting, only look for cdrom/dvd. when this is false
+ // it will support any removable device as a "cdrom" source
+ CdromOnly "true";
// cdrom mountpoint (needs to be defined in fstab if AutoDetect is not used)
mount "/cdrom";