[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf apt configurator



Previously Adam Di Carlo wrote:
> Okay, sounds good for the network part.  Regarding CD-ROM, I think it
> should *first* check in some reasonable locations on whether a CD-ROM
> is present.

Or a local copy on harddisk perhaps.. what the Linuxcare rescue CD does
is simply try to mount all standard devices (hd[a-d]*, sd[*, scd*). This
takes very little time, and since the kernel will autodetect iso9660 and
ext2 it works perfectly.

If you check for each mounted device it there is a /debian or /dists
directory you would probably have a simple method to detect CD's.

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@liacs.nl                    http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Attachment: pgpoqq5SjrPIV.pgp
Description: PGP signature


Reply to: