Thinking about this problem it looks like we need something like methods
/cdrom-hal (just as Sebastian suggested).

It should transparently fall back to methods/cdrom if no hal is available. If 
hal is available it should:
a) scan the hal device tree to see what cdroms are available on the system and 
what is mounted there. 
 1. If anything is mounted already use IdentCdrom() to see if it is a disk we 
want 
 2. If nothing is mounted prompt and ask the user to insert a CD, then repeat 
step 1 (this assumes that hal will auto-mount, if it does not, step one need to 
mount too)

This is complicated by the fact that we want to avoid having apt depend
on hal obviously, so this needs to be a stricly optional feature.


** Changed in: apt (Ubuntu)
   Importance: Medium => Wishlist

** Summary changed:

- apt uses hardcoded /cdrom 
+ apt uses hardcoded /cdrom, use hal instead (if it is availabe)

-- 
apt uses hardcoded /cdrom, use hal instead (if it is availabe)
https://launchpad.net/bugs/41689

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to