Zum Inhalt springen

Apt-cdrom: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „ “ durch „ “
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 17: Zeile 17:


  Commands:
  Commands:
    add - Add a CDROM
  add - Add a CDROM
    ident - Report the identity of a CDROM
  ident - Report the identity of a CDROM


  Options:
  Options:
  -h   This help text
  -h This help text
  -d   CD-ROM mount point
  -d CD-ROM mount point
  -r   Rename a recognized CD-ROM
  -r Rename a recognized CD-ROM
  -m   No mounting
  -m No mounting
  -f   Fast mode, don't check package files
  -f Fast mode, don't check package files
  -a   Thorough scan mode
  -a Thorough scan mode
  -c=? Read this configuration file
  -c=? Read this configuration file
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
  See fstab(5)
  See fstab(5)






[[Kategorie:Apt]]
[[Kategorie:APT]]
[[Kategorie:Linux/Befehl]]
[[Kategorie:Linux/Befehl]]
{{DEFAULTSORT:cpt-cdrom}}
{{DEFAULTSORT:cpt-cdrom}}

Aktuelle Version vom 14. Juni 2026, 00:46 Uhr

Dieses Kommando wird von apt-setup zur Integration von neuen CD-ROMs verwendet, kann aber auch eigenständig auf der Kommandozeile eingesetzt werden.

Im einfachsten Fall führt das Kommando apt-cdrom add dazu, dass die eingelegte CD durchsucht und mit den entsprechenden Werten in die Datei sources.list aufgenommen wird.

  • Hierzu ist ein entsprechender Eintrag für das CD-ROM-Laufwerk in der Datei /etc/fstab notwendig.
  • Ein solcher Eintrag wird bereits bei der Installation angelegt und muss normalerweise nur bei Veränderungen an der Hardware angepasst werden.

Wird apt-cdrom ohne weitere Angaben aufgerufen, so werden Informationen über weitere Optionen ausgegeben.

# apt 0.5.9 for linux i386 compiled on Aug 10 2003 19:58:08
Usage: apt-cdrom [options] command
apt-cdrom is a tool to add CDROM's to APT's source list.
  • The
CDROM mount point and device information is taken from apt.conf
and /etc/fstab.
Commands:
 add - Add a CDROM
 ident - Report the identity of a CDROM
Options:
 -h  This help text
 -d  CD-ROM mount point
 -r  Rename a recognized CD-ROM
 -m  No mounting
 -f  Fast mode, don't check package files
 -a  Thorough scan mode
 -c=? Read this configuration file
 -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
See fstab(5)