tech-userlevel archive

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

Re: Changing disk image boot options without root privileges



Christos Zoulas wrote:
> >> - add an "partition offset" option to installboot(8) like makefs(8)'s -O
> >
> >That's not very user friendly but I think it would work.  If no one
> >comes up with a way to do it using existing tools, I might add that.
> 
> Yes, I think that should be easy enough.

I have no immediate plans to add this myself since the rump based method
of http://mail-index.netbsd.org/tech-userlevel/2017/04/16/msg010510.html
works, but it would still be nice to have in the longer term.

> Isn't there a way for installboot to find the offset itself?

Perhaps it could be done by sharing the code in disklabel(8) for
finding the disklabel, and then looking up the offset in the
disklabel.
-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index