[Fedora-livecd-list] related to 6/7, mayflower loop device cleanup proposal

Jeremy Katz katzj at redhat.com
Mon Sep 17 19:47:18 UTC 2007


On Mon, 2007-09-17 at 14:37 -0500, Douglas McClendon wrote:
> Jeremy Katz wrote:
> > On Mon, 2007-09-17 at 13:55 -0500, Douglas McClendon wrote:
> >> All those hard coded (117/118/119/120/121) loop devices used are very ugly.
> >>
> >> Probably they should get replaced with dynamic choices via losetup -f, 
> >> as my recent livecd-creator patch did (though it was already using 
> >> dynamic via losetup -a prior, different issue).
> > 
> > Agreed.  Given that most people don't use loop devs explicitly, I can't
> > see how this would be problematic.  Too bad losetup doesn't have a "find
> > the first available loopdev backwards" option, though.  Because that
> > would be even slicker as if there _are_ things lying around with
> > loopdevs hard-coded, they wouldn't break.
> 
> Between that and the *nod* I'll take that as "go ahead and make the 
> patch, and for the rare people that have broken hardcoded loop stuff 
> that can't handle taken low-numbered loop devices, *and* want to run 
> those broken things in a LiveOS environment, too bad"

Yeah, I think that's pretty much where I sit :)

> > And yeah, the amount of mkinitrd requiring being run as root is so small
> > and piddly that it really is quite annoying.  Just haven't had the round
> > tuits to fix them.
> 
> Is it anything that can't be handled by the fakeroot tool that Colin 
> recently pointed me at?  (and perhaps mtools?)

To be honest, the only things that are there are a few mknods.  And I
can't see any good reason why those have to be done at initrd creation
rather than at run-time

Jeremy




More information about the livecd mailing list