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

Bug#573252: partman-target: stray /cdrom link useless these days

On Friday 12 March 2010, Frans Pop wrote:
> On Friday 12 March 2010, Joey Hess wrote:
> > I installed the alpha from usb stick, onto a system with no cdrom
> > drive, and a /cdrom directory (not symlink) was left behind. I have
> > not worked out which component is responsible.
> So after today's changes it will leave /media/cdrom instead of /cdrom.
> Guess we should remove that dir again in finish_install.d for hd_media
> installs? We'd need to keep an indicator that the dir was created by
> base-installer and not by partman.

I'm not sure we should remove the dir actually.
Don't we also leave the CD image as a valid source for APT [1]? And we've 
now configured APT to use /media/cdrom as its dir to mount CDs.

Unless we want to clean up all that too, which is defensible as it's 
unlikely a user would think to mount the image on /media/cdrom. And we 
already remove netinsts from the sources.list during finish-install.

[1] At least if a full CD or DVD was used which given the size of USB 
sticks nowadays is not impossible.

Reply to: