9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: [9front] gefs -- buggy ream
Date: Sat, 20 Jul 2024 18:26:38 -0400	[thread overview]
Message-ID: <61FCDF2C2032FC3130C3875B04C64D84@eigenstate.org> (raw)

There was a bug in gefs reaming that initialized the
'adm' partition incorrectly. Until recently, the bug
was largely dormant, because we never looked up the
parent links for the adm root directory.

The recent change to update qid.vers in the parent
when creating, renaming, or deleting files made us
start looking up parent links far more often, causing
the bug to trigger.

Newly reamed GEFSs as of commit 108f94b25a7a from
Jul 19 2024 will be correctly reamed.

For existing file systems, I've put together a program
that will fix the file systems:

	gits://shithub.us/ori/gefix

To use it, first: MAKE SURE THAT YOUR GEFS IS NOT MOUNTED.
Then, run the following commands:

	git/clone gits://shithub.us/ori/gefix
	cd gefix
	mk
	6.out -f /dev/sdXX/fs # or your actual partition

and your gefs should be repaired.



                 reply	other threads:[~2024-07-20 22:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61FCDF2C2032FC3130C3875B04C64D84@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).