Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message

Joined: 19 Sep 2013
Posts: 168

PostPosted: Tue Jan 28, 2014 1:47 am    Post subject: Config_9p_fscache Reply with quote

I am a bit puzzled about how a kernel configuration option works in the menuconfig procedure. In "Network File Systems" there is a setting called "Plan 9 Resource Sharing Support (9P2000)", which appears there only after one has first chosen the same named setting "Plan 9 Resource Sharing Support (9P2000)" under the section called 'Networking support'. In other words,

Only after selecting first this:
Networking support --> Plan 9 Resource Sharing...

consequently, would enable these:
File systems --> Network File Systems --> Plan 9 Resource Sharing...
[aka] CONFIG_9P_FS
with these three subsettings also now appearing here:
* Enable 9P client caching support
* 9P POSIX Access Control Lists
* 9P Security Labels

Furthermore, in this second grouping, when I choose it this way,

<M> Plan 9 Resource Sharing...

then there appears the three subsettings mentioned above. However, when I choose it like this,

<*> Plan 9 Resource Sharing...

then only the last two subsettings appear, but the first one, "Enable 9P client caching support", is completely missing. Furthermore, its underlying configuration settings, namely, CONFIG_9P_FSCACHE, does not appear selected, as it were, automatically, even when it does not appear as an option for me to choose.

Therefore, my question is, why does it altogether disallow the functionality from CONFIG_9P_FSCACHE, by removing this option, if I choose to build into the kernel "Plan 9 Resource Sharing", but not so when I have chosen to make it a module? Consequently, if I had never chosen to make it a module to begin with, I then would not have realized the setting (and its functionality) below it even existed as an available option. That seems wrong to me.

With this sort of reasoning, should I conclude, as it would seem so, that I must first set every single option to be a module in order to see everything it enables before I even consider setting it to be built-in? And what prevents the opposite from occuring in other cases? What, moreover, would prevent the options from appearing differently, or not, in other places besides adjacently, where as a result they might very well not be noticed, for example such as I demonstrated above?
Back to top
View user's profile Send private message

Joined: 29 Jul 2006
Posts: 309

PostPosted: Sat Feb 08, 2014 1:15 am    Post subject: Reply with quote

CONFIG_9P_FS and CONFIG_FSCACHE should be same value: both in kernel or both as module.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum