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

Bug#64500: bugs 64500 and 64823



I've looked into this briefly.  The question is why we ever need to
worry about managing loop devices.  If not, and it seems we don't,
then we can completely eliminate any fudging with /dev/loopX, we can
remove utilities/dbootstrap/losetup.c.

That would also mean just mucking with a lot of supporting functions
that tend to want loop devices passed to it,  modifying these
functions at least:

  extract_kernel:install_floppy   # arg 1 is a device
  extract_kernel:copy_to_local()  # returns a loop device
  extract_kernel:get_device()
  extract_kernel:release_device()

It would also mean removing some replicated stuff in net-fetch.c.

It would also mean eliminating all calls to set_loop(), del_loop(),
and find_unused_loop_device().

Does anyone other than me (Joey?) wanna take a crack at this?

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>



Reply to: