linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kyungmin Park <kmpark@infradead.org>
To: chris.mason@oracle.com, linux-btrfs@vger.kernel.org
Subject: Question: Build btrfs filesystem from specific directory.
Date: Sat, 12 Jun 2010 11:20:11 +0900	[thread overview]
Message-ID: <AANLkTimbW5pNGsFxRZYRRjY0Ke-Wyb4aaBkUZgilVMlR@mail.gmail.com> (raw)

Dear all,

I'm not sure it's correct mailing list. but I can't find a btrfs-progs
mailing list.

I'm founding the solution to build btrfs filesystem image from
specific directory.
it's common concept at mobile build environment.
e.g., ubifs and cramfs support this feature.

In case of ubifs
-r, -d, --root=DIR       build file system from directory DIR
In case of cramfs
dirname    root of the filesystem to be compressed

But btrfs doesn't support it.
usage: mkfs.btrfs [options] dev [ dev ... ]
options:
         -A --alloc-start the offset to start the FS
         -b --byte-count total number of bytes in the FS
         -d --data data profile, raid0, raid1, raid10 or single
         -l --leafsize size of btree leaves
         -L --label set a label
         -m --metadata metadata profile, values like data profile
         -n --nodesize size of btree nodes
         -s --sectorsize min block allocation
Btrfs v0.19-16-g075587c-dirty

So does it have any plan to support this feature at btrfs?

Thank you,
Kyungmin Park

             reply	other threads:[~2010-06-12  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-12  2:20 Kyungmin Park [this message]
2010-06-12  2:33 ` Question: Build btrfs filesystem from specific directory Evgeny A. Marchenko
2010-06-12  4:47   ` Kyungmin Park

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=AANLkTimbW5pNGsFxRZYRRjY0Ke-Wyb4aaBkUZgilVMlR@mail.gmail.com \
    --to=kmpark@infradead.org \
    --cc=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.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).