Fran�ois Pons wrote:
>
> Pierre Fortin <[EMAIL PROTECTED]> writes:
>
> > Given this, what is the correct way to setup urpmi config files to avoid the
> > request to insert a CD into /dev/cdrom...?
> >
> > The only way I succeeded was to fix the files (cd1 in particular) which
> > urpmi.addmedia created and delete the original "disc\ [123]\ Downloa..." entries
> > in /etc/urpmi/urpmi.cfg.
>
> Moving them to the beginning (which should give higher priority) the medium info
> should be enough instead of deleting older entries.
This gets me into a whole new area of rants ("Leave my config files alone!!!");
but I'll save that for another thread... :> Suffice it to say, I deleted the
default CD entries and urpmi.addmedia put them back on its own...
> does /mnt/cd1 is used for removable device (or in /etc/fstab in fact), if true,
> choose another mount point (/mnt/disk) because newer version of urpmi will not
> need anymore device given in url (only removable:/mnt/cdrom...) and will assume
> the first (or last) mount point as a cdrom.
The problem is that there are 3 ISO images and no CDs at the remote site, so I
need 3 mount points (unless there is a way to mount them all at the same point)
... trying it on my own machine:
/hd/e2/ISO/Mandrake81-cd1-inst.i586.iso
663968 663968 0 100% /mnt/inst
/hd/e2/ISO/Mandrake81-cd2-ext.i586.iso
663968 663968 0 100% /mnt/inst
But this only sees the cd2 files (last mount -- the blocks/used info is also
overridden by the last mount), so this is not viable.
Sidebar: Is there a format for "-o loop" mounts in /etc/fstab...?
The basic idea here is to copy all the ISO images onto a remote HD, and use
those to install progs instead of real CDs. An idea for the future:
ISO://mnt[cd1,cd2,cd3] # multiple "drives"; handles NFS too
ISO://some.host:/mnt/[cd1,cd2,cd3]
ISO://http://.../mnt/[cd1,cd2,cd3]
http://.../foo.rpm
ftp://.../bar.rpm
ISO://dev/cdrom{CD1,CD2,CD3} # requires swapping: {} vs []
ISO://dev/[cdrom,cdrom2,cdrom3] # multiple drives available
Thanks,
Pierre