The easiest option, to use the file system console,
documented in man 8 fs. The commands you want are
something along the lines of:

        % con -C /srv/cwfs.cmd
        >>> check
        <will dump a bunch of errors, probably>
        >>> clri <file with errors>
        >>> clri <file with errors>
        >>> ...
        >>> check free

Quoth Жора <[email protected]>:
> You are right. I used `reboot`. Thanks.
> Is there a way to restore my file?
> 
> On Thu, Oct 16, 2025 at 11:05 PM Jacob Moody <[email protected]> wrote:
> 
> > On 10/15/25 19:59, [email protected] wrote:
> > > Hi. I’m new to 9front. I installed it on my ThinkPad with an NVMe drive.
> > After editing lib/profile and rebooting, I got the following error:
> > >> cat: error reading profile: phase error -- cannot happen
> > >> checktag pc="202c79 cw"/dev/sdN0/fscache"w"/dev/sdN0/fsworm"(e108)
> > tag/path=Tfile/27468; expect Tfile/27465
> > >
> > > The first time I got this error, I just deleted the file and created a
> > new one, but it happened again.
> > > *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions <
> > https://9fans.topicbox.com/groups/9fans> + participants <
> > https://9fans.topicbox.com/groups/9fans/members> + delivery options <
> > https://9fans.topicbox.com/groups/9fans/subscription> Permalink <
> > https://9fans.topicbox.com/groups/9fans/T1e0a38caeda2ba94-M8ff9e12be6cbb186b3c38ad5
> > 
> > How did you reboot your system? If you used reboot(1), that shuts off the
> > system without cleanly shutting down the filesystem.
> > You should use fshalt -r. Cwfs does not handle unclean shutdowns very
> > well, doubly so if there are fresh writes.
> > 
> > Thanks,
> > moody

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Td5bd76c3966c3cb4-M444eaf229d0537a6d75ff236
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to