public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: CHEN Baozi <baozich@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: [RFC] Add XFS support in SYSLINUX
Date: Mon, 2 Apr 2012 14:48:30 -0400	[thread overview]
Message-ID: <20120402184830.GA12792@infradead.org> (raw)
In-Reply-To: <D9839BD8-29F4-4472-A5B5-7974497B14DD@gmail.com>

Hi Chen,

thanks a lot for your interested in tackling this project.

Writing to the end of the first block would work for 4k or larger block
sizes filesystems, but it's not a very clean solution.

Id had a quick brainstorm with Dave and we came up with the following
idea:

 - create an extended attribute on the root filesystem that is larger
   than than the filesystem block size (typically 4k), and store the
   syslink payload in it.
 - for the first prototype get its block number using the GETBMAPX
   ioctl, and use it.

once that prototype works we can talk about a good interface for you.
We could precreate the attribute at mkfs time at a fixed block number
so that syslinux can hardcode it, or we could discuss any other kind
of interface that helps you.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-04-02 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 14:27 [RFC] Add XFS support in SYSLINUX CHEN Baozi
2012-04-02 18:48 ` Christoph Hellwig [this message]
2012-04-04  1:36   ` CHEN Baozi

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=20120402184830.GA12792@infradead.org \
    --to=hch@infradead.org \
    --cc=baozich@gmail.com \
    --cc=xfs@oss.sgi.com \
    /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