Click to See Complete Forum and Search --> : ufs read-write option grayed out in xconfig
deleeuw
01-17-2005, 05:44 PM
hey all,
Am trying to recompile my kernel via make xconfig. When I go into the section "File System", UFS read-only is set to no, but can be changed; the selection below, to make the YFS read/rwrite (followed by the word "DANGEROUS" for obvious reasons) is greyed out. When I click Yes for the above option (UFS as read only), the read-write option is still grayed out. BTW, I am doing this as root.
What shall I do??
Thx
gehidore
01-17-2005, 05:58 PM
Originally posted by deleeuw
hey all,
Am trying to recompile my kernel via make xconfig. When I go into the section "File System", UFS read-only is set to no, but can be changed; the selection below, to make the YFS read/rwrite (followed by the word "DANGEROUS" for obvious reasons) is greyed out. When I click Yes for the above option (UFS as read only), the read-write option is still grayed out. BTW, I am doing this as root.
What shall I do??
Thx
I shall get hooted at for this, but try make menuconfig.
welmers
01-17-2005, 06:18 PM
I just compiled a 2.6.10 kernel with UFS read-write support. I configured by 'make menu-config', eveything went fine.
I can mount ufs now, however, when I look with df all my UFS2 partitions have -32 ZetaByte in use :D
Else maybe you can edit the .config file with an editor and just set UFS write to 'y', and then run 'make xconfig'
since I compiled this vanilla kernel for SuSE, SuSE complains it could not use 'subfs' anymore. (subfs is used for removable media with suse). But I can't find any subfs thing in the linux config and enabling autofs does not work.
bwkaz
01-17-2005, 07:38 PM
You probably need to turn on "Code maturity level options" --> "Prompt for development and/or incomplete code/drivers" to get UFS write support to allow itself to be enabled. (Is this a 2.6 kernel source?)
deleeuw
01-18-2005, 08:27 PM
The kernel source is 2.4.20 (the one I got with RedHat 9.
Thx
bwkaz
01-19-2005, 07:26 PM
Ah, OK. It's been WAY too long since I compiled a 2.4 kernel (and you're DEFINITELY going to want to upgrade that one anyway; 2.4.20 was vulnerable to at least 2 local root exploits, IIRC). You won't have to upgrade all the way to 2.6, just get the latest 2.4 from www.kernel.org instead of whatever you have.
Alternately, you could get an update from Red Hat, but since Red Hat as a distro no longer really exists, you'll have a hard time doing that. ;)
The final option would be to upgrade to Fedora Core 2 or 3.
But anyway, if you want to stay with kernel 2.4 for some reason, I think the equivalent option is in the exact same place (first thing on the top-level menu). It may even be named the same.
deleeuw
01-19-2005, 08:33 PM
Cool! Thanks for the info.
Thx