Page MenuHomeFreeBSD

Make g_label depend on FFS for now.
ClosedPublic

Authored by delphij on Jan 28 2018, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 4 2024, 3:19 PM
Unknown Object (File)
Dec 20 2023, 2:02 AM
Unknown Object (File)
Dec 11 2023, 4:25 PM
Unknown Object (File)
Oct 23 2023, 11:13 AM
Unknown Object (File)
Aug 31 2023, 5:03 AM
Unknown Object (File)
Aug 31 2023, 5:02 AM
Unknown Object (File)
Aug 31 2023, 4:59 AM
Unknown Object (File)
Aug 31 2023, 1:43 AM
Subscribers

Details

Summary

After r328426, g_label depends on FFS bits to read UFS
superblock. This change makes it depend on the required minimum
FFS bits and unbreaks kernels without FFS option.

Test Plan

compile without FFS

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/conf/files
4818–4819 ↗(On Diff #38579)

I was expecting to see that geom_label was now dependent on ffs. This seems to have the dependency backwards... Why did you do it this way?

sys/conf/files
4818–4819 ↗(On Diff #38579)

The intention is "if either ffs or geom_label is selected, grab in ufs/ffs/ffs_subr.c and ffs_tables.c", was the syntax wrong here?

I agree that the dependency needs to be added though I am not sure precisely how it should be done. I suggest added kib@ as a reviewer because he is up-to-date with the way that these sorts of dependencies should be indicated.

For static compilation, this is perhaps fine.

But for modules, I dislike the idea of making g_label depended on the ufs.ko. I would prefer the corresponding code to be included in g_label module.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 3 2018, 9:15 AM
This revision was automatically updated to reflect the committed changes.