mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "John Zielinski" <grimr@home.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: Anyone else kernel mounting a filesystem that has a block device?
Date: Mon, 27 Nov 2000 16:01:44 -0500	[thread overview]
Message-ID: <001001c058b5$405f82e0$6400a8c0@wlfdle1.on.wave.home.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0011271530120.7352-100000@weyl.math.psu.edu>

> On Mon, 27 Nov 2000, John Zielinski wrote:
>
> > I'm going to be mounting a filesystem that uses a block device from
inside
> > the kernel.  This mount will not be visible from userland nor can it be
> > unmounted from userland.  Is anyone else doing something like this so we
can
> > coordinate on the changes needed to fs/super.c?
>
> No changes needed. Check kern_mount().

Oops.  Should have said 'physical' block device.  The kern_mount() function
calls get_unnamed_dev().  I want to modify it so that it also takes an 'char
* dev_name' and does the same thing as the code in do_mount() which picks
which get_sb_???() functions to call.

I'll just make a kern_mount2() until all the other code that calls
kern_mount is changed so that it passes a "none" or something as the second
parameter.

John


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2000-11-27 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-27 20:24 John Zielinski
2000-11-27 20:33 ` Alexander Viro
2000-11-27 21:01   ` John Zielinski [this message]

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='001001c058b5$405f82e0$6400a8c0@wlfdle1.on.wave.home.com' \
    --to=grimr@home.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®