From: Theodore Tso <tytso@mit.edu>
To: Rohit Sharma <imreckless@gmail.com>
Cc: Kernelnewbies <kernelnewbies@nl.linux.org>,
ext4 <linux-ext4@vger.kernel.org>
Subject: Re: inode and blocks
Date: Sun, 28 Sep 2008 17:01:18 -0400 [thread overview]
Message-ID: <20080928210118.GD8711@mit.edu> (raw)
In-Reply-To: <2d08ef090809280319m64555696nfe1a446e010f921f@mail.gmail.com>
On Sun, Sep 28, 2008 at 03:49:04PM +0530, Rohit Sharma wrote:
> Suppose i have a file named abc.txt and i want to specify that
> all the *.txt files must be allocated between block groups no. 100 -
> 200 in ext2 fs.
>
> Is there a way to do this?
>
> can we modify function ext2_new_inode and find_group_orlov for this?
You would have to modify kernel code to do this; the main question
which comes to mind is *why* would you want to do something like this?
It seems like an ideal problem set that a professor might give to a
student, since it would force them to try to get from an inode to the
pathname used to open the file. So it seems to be one of these really
pointless things that isn't particularly useful in real life, except
for pedagogical purposes.
- Ted
next prev parent reply other threads:[~2008-09-28 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-28 10:19 inode and blocks Rohit Sharma
2008-09-28 21:01 ` Theodore Tso [this message]
2008-09-29 14:33 ` Rohit Sharma
2008-09-29 17:24 ` Sunil
2008-09-30 13:56 ` Rohit Sharma
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=20080928210118.GD8711@mit.edu \
--to=tytso@mit.edu \
--cc=imreckless@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.