Re: Bug#50284: a better apt configuration method
Jason Gunthorpe wrote:
> > (However, that's rather silly, since I doubt these people will ever find
> > their way into the [S]etup screen of dselect anyway.)
>
> Then why all the interest in it??
An apt configuratior is one of the critical features the boot-floppies team
sees as necessary for potato's boot floppies.
> > > Well, this still has problems. If you are going to do this then use
> > > apt-config to get the CD mount point and CD mounting command from the
> > > configuration file and use that.
> >
> > Ok. So use cdrom::Mount for the mount point and something like
> > "/cdrom/"::Mount and "/cdrom/"::UMount, where "cdrom" is the value of
> > cdrom::Mount?
>
> I think it is acquire::cdrom::mount and acquire::cdrom::"/cdrom/"::mount
Is case not important? Anyway, if that's the real values, the man page
should be fixed, it confusingly uses "/cdrom/"
cdrom
CDROM URIs; the only setting for CDROM URIs is the mount point,
cdrom::Mount which must be the mount point for the CDROM drive
as specified in /etc/fstab. It is possible to provide alternate
mount and unmount commands if your mount point can not be
listed in the fstab (such as an SMB mount). The syntax is to put
"/cdrom/"::Mount "foo"; within the cdrom block. It is important
to have the trail ing slash. Unmount commands can be specified
using UMount.
--
see shy jo
Reply to: