Andreas Jaeger wrote: > Gerd Hoffmann <[EMAIL PROTECTED]> writes: > > > Volker Kuhlmann wrote: > >> Woudln't it be better to give some choice? E.g. "Use kernel parameter > >> ... (not recommended), use lvm" Are there any other fundamental choices? > > > > IMO lvm is the only sane approach to handle that many filesystems. > > > > Beside that, there is still kpartx (part of multipath-tools) which is > > able to create device mapper mappings for DOS partitions. I'm not sure > > though whenever it can handle more esoteric partition formats such as > > bsd slices. > > But setting kpartx up automatically is a challenge.
I haven't used that tool before but it looks rather simple, at least with an USB memory stick: # l /dev/sda* brw-r----- 1 root disk 8, 0 22. Feb 09:53 /dev/sda brw-r----- 1 root disk 8, 1 22. Feb 09:53 /dev/sda1 brw-r----- 1 root disk 8, 2 22. Feb 09:53 /dev/sda2 brw-r----- 1 root disk 8, 3 22. Feb 09:53 /dev/sda3 # partx -d /dev/sda error deleting partitions 4-15: BLKPG: No such device or address error deleting partition 16: BLKPG: Invalid argument # l /dev/sda* brw-r----- 1 root disk 8, 0 22. Feb 09:53 /dev/sda # kpartx -a /dev/sda # l /dev/mapper/ insgesamt 0 drwxr-xr-x 2 root root 120 22. Feb 09:53 ./ drwxr-xr-x 12 root root 8500 22. Feb 09:53 ../ lrwxrwxrwx 1 root root 16 22. Feb 08:56 control -> ../device-mapper brw------- 1 root root 253, 0 22. Feb 09:53 sda1 brw------- 1 root root 253, 1 22. Feb 09:53 sda2 brw------- 1 root root 253, 2 22. Feb 09:53 sda3 Now if kpartx would also link /dev/mapper/sda* to /dev one wouldn't even notice the difference. > Guys, do you really see this a limitation that will hit many of us? At least it hits me. On my test machine the last bootable partition currently is hda17. cu Ludwig -- (o_ Ludwig Nussel //\ SUSE Labs V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
