From: "Sander van Grieken" <sander@outrightsolutions.nl>
To: "Yevhen Kyriukha" <kirgene@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Create btrfs subvolume during image building
Date: Tue, 02 Jul 2013 14:19:25 +0200 [thread overview]
Message-ID: <3025-51d2c580-99-5d3ab0@25397342> (raw)
In-Reply-To: <CADV-EXEu9adLK7ArMTZv30gTdppzPwMpNMC1JPpVhSm9jQqTag@mail.gmail.com>
On Tuesday, July 2, 2013 14:04 CEST, Yevhen Kyriukha <kirgene@gmail.com> wrote:
> Hi!
>
> I'd like to create image with btrfs rootfs partition.
> I want to store all files on separate subvolume on btrfs partition.
> For this purpose I'm creating *.bbclass that simply extends IMAGE_CMD.
>
> The problem is that to create btrfs subvolume I need to mount it first, but
> only root can execute "mount".
>
> Are there any ways to accomplish this?
>
> Best regards,
> Yevhen
You can mark /dev/loop0 in /etc/fstab as user mountable, and use that in your IMAGE_CMD
Regards,
Sander
next prev parent reply other threads:[~2013-07-02 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 12:04 Create btrfs subvolume during image building Yevhen Kyriukha
2013-07-02 12:19 ` Sander van Grieken [this message]
2013-07-02 13:29 ` Colin Walters
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=3025-51d2c580-99-5d3ab0@25397342 \
--to=sander@outrightsolutions.nl \
--cc=kirgene@gmail.com \
--cc=openembedded-core@lists.openembedded.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