On Mon, Mar 17, 2025 at 09:19:20AM -0500, Jacob Moody wrote:
> On 3/17/25 05:27, tlaro...@kergis.com wrote:
> > 
> > So where is the config? First block of "fscache"? of WORM? of "other"?
> > Elsewhere?
> > 
> > I can put "-c" in bootargs to get to fsconfig. But what is the syntax
> > in order to not wreak havoc? The man page gives SCSI syntax, but what
> > about SATA sd drives?
> 
> The commands accepted are documented here http://man.9front.org/8/fsconfig.
> It is best to use the command mode instead of trying to manually modify
> the configuration block, the config block stores the actual partition names
> so copying it over will not do anything for you. You configure the system
> just as you would as if you were first installing it. I've had to do this
> before and assuming you're using a fairly standard cwfs install you can
> do the following:
> 
> At bootargs:
> % cwfs64x -C -c -f /dev/newDisk/fscache
> config: filsys main c(/dev/newDisk/fscache)(/dev/newDisk/fsworm)
> config: filsys other (/dev/newDisk/other)
> config: filsys dump o
> config: end
> 

Many thanks!!! Installation fixed. I think this is worthy of a mention in the
manpage (that the device is hard coded in the config so bootargs
will not suffice; and that to fix this bootargs has to be appended
with "-c" to enter these commands).

May I suggest that the syntax between parenthesis: 

"(device...): A pseudo-device formed from the concatenation of the
devices..."

lead me to think that this user level naming of devices was reserved
for virtual drives, and that the "real" one used (with command w)
was necessiting low level numbers. I feel the man page would benefit
(I mean: the reader with a vague knowledge of the thing) from some
complementary explanations.

> Yes this is a bit annoying, that's why it's been fixed in both hjfs and in 
> gefs,
> which work fine with only a plan9.ini change (when changing the disk 
> ordering).
> 
> - Jacob Moody
> 
> > 
> > Can I give "-m /dev/sdE1/fscache" in bootargs that would magically
> > fix the config?
> > 
> > Is there a way to specify to the file service "hic": "handle the device
> > you sit on", so that it is relative, "movable"---dd'ing the whole Plan9
> > partition elsewhere will work?
> > 
> > TIA for tips, explanations and magic invocations!

-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Teea5d5b5e6678327-Mcffad5bada96e649c291f2a6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to