Re: boot-floppies 2.2.9 and Debian CD's...
On Sat, Mar 25, 2000 at 12:56:19AM +0100, J.A. Bezemer wrote:
>
> On Fri, 24 Mar 2000, Ben Collins wrote:
>
> > > for drive in `echo /dev/hd? /dev/sd? /dev/scd?` ; do
> > > if ! mount $drive /mnt -t iso9660 -o ro > /dev/null 2>&1 ; then
> > > continue
> > > elif [ -e /mnt/README.Debian ] ; then
> > > foundit=1
> > > else
> > > umount /mnt
> > > fi
> > > done
> >
> > That's asking for all kinds of false positives and problems. We don't want
> > to go mucking around with the cdrom stuff unless the user asks us to.
>
> Well, you can also just try it _unless_ the user asks you _not_ to. That's the
> M$ way, and AFAIR I didn't hear complaints about that at all ;-))
Well, I'm just worried about too many unknowns with this approach this
late in the game. It wont even matter for woody since we will have devfs
and we can easily probe /dev for configured cdrom's.
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: