Libzypp/Media/Url/CD
From openSUSE
MediaCD
The access handler for media on CD / DVD drives.
- Url Scheme:
- cd: Requires a drive supporting CD media.
- dvd: Prefers a drive supporting DVD media.
- Examples:
cd:/ cd:/?devices=/dev/hda,/dev/hdb cd:/subdir?devices=/dev/hda,/dev/hdb dvd:/ dvd:/?devices=/dev/hda,/dev/hdb dvd:/subdir?devices=/dev/hda,/dev/hdb
Note: You can use either "dvd:/" (just path, no authority) or "dvd:///" (path and empty authority).
- Query parameters:
- devices: Optional parameter, containing a comma separated list of block device names to use, e.g.: "/dev/sr0,/dev/sr1".
The device names will be verified using a HAL query. If one of the provided devices is not usable
(not a block device, or does not support required media type), an exception is thrown.
If the devices parameter is not provided (or empty), all avaliable CD/DVD drives 'detected' using a
HAL query. The preferred drive (used as first drive) is the drive pointed to by the symlink "/dev/dvd"
("dvd" scheme only) or "/dev/cdrom".
- Authority: A non-empty authority URL component (e.g. containing a host name) is not allowed.
- Path name: Mandatory URL component, that specifies a subdirectory where the desired files are located
on the CD.
Last edit in Trac '06/07/06 12:12:28' by 'mt'
Last edit in Trac '06/07/06 12:12:28' by 'mt'
Last edit in Trac '06/07/06 12:12:28' by 'mt'
Last edit in Trac '06/07/06 12:12:28' by 'mt'

