tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: GPT attributes in dkwedgeq
On Tue, Sep 12, 2023 at 07:21:10AM +0000, Emmanuel Dreyfus wrote:
> 2b) struct dkwedge_softc is private, we could add a field here
> without being intrusive, it would just need accessor functions:
> int dkwedge_set_flags(struct disk *pdk, int partnum, int flags);
> int dkwedge_get_flags(struct disk *pdk, int partnum, int *flags);
partnum here is what gpt(8) calls index?
This sounds like the least intrusive and flexible way to me.
Martin
Home |
Main Index |
Thread Index |
Old Index