diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-23 10:41:38 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-23 10:41:38 +0200 |
commit | 3e2d7cce4febc923d4b9bcb363717dd161cbb856 (patch) | |
tree | 69245f40f2623ccb7bb914aba06e17d009a9689a /apt-pkg/contrib/cdromutl.h | |
parent | 47f1d6d23c344b4c592565cc1ea61b5456570a06 (diff) | |
parent | 76fe5db7153957f8fda437e3bd614312b076f19e (diff) |
[ABI] merged the libudev-dlopen branch, this allows to pass
"apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will
dynamically find/mount the cdrom device (if libhal is available)
Diffstat (limited to 'apt-pkg/contrib/cdromutl.h')
-rw-r--r-- | apt-pkg/contrib/cdromutl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/cdromutl.h b/apt-pkg/contrib/cdromutl.h index f24bb8c70..9d14249c5 100644 --- a/apt-pkg/contrib/cdromutl.h +++ b/apt-pkg/contrib/cdromutl.h @@ -14,7 +14,8 @@ using std::string; -bool MountCdrom(string Path); +// mount cdrom, DeviceName (e.g. /dev/sr0) is optional +bool MountCdrom(string Path, string DeviceName=""); bool UnmountCdrom(string Path); bool IdentCdrom(string CD,string &Res,unsigned int Version = 2); bool IsMounted(string &Path); |