Skip to contentSkip to conversation

FS: write ability

DISCUSSION Oleg Strikov 2 participants 2 messages Nov 14, 2007 – Nov 18, 2007

lore
Share & tools
lore
#0 lore raw

I'm going to code new grub2 mechanism to provide not only read, but write ability to grub loader. First of all i need such feature for ext2/3 FS, but i think it'll be great to enlarge it to all supported FS.
If anybody can help with some code or recommend interesting approach - feel free to tell me

Thanks!

#1 lore raw
Quoted 5 lines · Oleg Strikov

I'm going to code new grub2 mechanism to provide not only read, but write ability to grub loader. First of all i need such feature for ext2/3 FS, but i think it'll be great to enlarge it to all supported FS.
If anybody can help with some code or recommend interesting approach - feel free to tell me

Please understand that this cannot be included in GRUB 2, at least as far as I am concerned. Although it is very nice to work on write support, it goes beyond the goal of a bootloader. If it is included in GRUB, it means we have to maintain it. We already have a lack of time to maintain the current code base.

Besides that, there is little added value. While write support is *very* complex, can damage filesystems when there is a bug, etc. It's also a lot of work, even for a single filesystem.

Why do you need write support? Perhaps there is another solution to the problem you are trying to fix?

--
Marco