9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "adr via 9fans" <9fans@9fans.net>
To: 9fans@9fans.net
Subject: [9fans] mkfs
Date: Mon, 5 Jul 2021 14:23:51 +0000 (UTC)	[thread overview]
Message-ID: <55cab115-8418-8622-1760-c9128d24d551@SDF.ORG> (raw)

Hi,

I was hacking libdisk/proto.c to accept quoted strings, when I
noticed that mkfs is not using libdisk.h. The problem modifying
mkfs.c is that the code taking care of kfs obliges me to keep
functions duplicated on proto.c. The easiest solution is to remove
kfs support and just extract protoenum() from copyfile(). Other
approach is to make these functions needed by the kfs code available
at disk.h, another one is to keep mkfs.c as it is for compatibility
and clone another program, mktree without mkfs support and using
disk.h.

I'd like to be as compatible with the labs|9legacy distribution as
possible, without breaking things other people can be using.

Some thoughts from users?

adr.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te2c67c4bc489fa54-M7335a5aacfe0f1462601e5e9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

             reply	other threads:[~2021-07-05 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05 14:23 adr via 9fans [this message]
2021-07-05 19:24 ` cinap_lenrek
2021-07-07 17:47   ` adr via 9fans

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=55cab115-8418-8622-1760-c9128d24d551@SDF.ORG \
    --to=9fans@9fans.net \
    /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).