Re: rfc: growlight as d-i partman replacement
Karl Goetz left as an exercise for the reader:
> How will this go for ports, non x86 and non linux?
non-x86: there's no x86-specific code in growlight. if all the libraries
are available, everything should be fine. will need to support setting up
bootloaders on those architectures if they don't use GRUB/efistub.
non-linux: would need some work to implement some kernel-specific stuff,
but that's all stuff that partman currently does not provide. i'm
primarily thinking here:
- inotify (implementable in terms of freebsd's EVFILT_VNODE
- sysfs records used to determine rotation speed
- sysfs records used to determine physical sector size
- ioctl's used to inform kernel of partition table changes
not all filesystems will be available and there might be some extra
filesystems.
I don't know anything about hurd, and can't really answer you there. I'm
pretty familiar with freebsd, and think porting will not be very difficult.
I've added a bug on this: https://www.sprezzatech.com/bugs/show_bug.cgi?id=628
Thanks for pointing this out!
--
nick black http://www.sprezzatech.com -- unix and hpc consulting
to make an apple pie from scratch, you need first invent a universe.
Reply to: