File: TODO

package info (click to toggle)
os-prober 1.17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 124 kB
  • ctags: 24
  • sloc: sh: 924; makefile: 43
file content (28 lines) | stat: -rw-r--r-- 1,016 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This thing needs a regression test suite.

The grub linux-boot-probe has these limitations:

 - Does not handle grub present menus.
 - Does not support things like (hd0,1)/path/to/file
   although in the case of the kernel it will strip
   off the drive specification, and look for the file in the current
   partition.

The lilo linux-boot-probe has these limitations:

 - Doesn't map from devfs to normal if the lilo.conf uses devfs names
   (valid?)

linux-boot-prober:

- Partition names in boot loader config may have changed during
  the debian install, so cannot be trusted. Fix up root= lines,
  etc.
- To get to boot/, may need to parse fstab. But this can fail because
  as noted above, drive names may have changed!
- Maybe do some probing before partitioning and store info?
  Or don't support adding partitions before existing /boot partitions.

Make it build a deb too, this probing could be useful outside d-i.
(If this is done, be sure to audit it for /tmp usage, which we do not care
about in d-i.)