* Anyone else kernel mounting a filesystem that has a block device?
@ 2000-11-27 20:24 John Zielinski
2000-11-27 20:33 ` Alexander Viro
0 siblings, 1 reply; 3+ messages in thread
From: John Zielinski @ 2000-11-27 20:24 UTC (permalink / raw)
To: linux-kernel
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?
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Anyone else kernel mounting a filesystem that has a block device?
2000-11-27 20:24 Anyone else kernel mounting a filesystem that has a block device? John Zielinski
@ 2000-11-27 20:33 ` Alexander Viro
2000-11-27 21:01 ` John Zielinski
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Viro @ 2000-11-27 20:33 UTC (permalink / raw)
To: John Zielinski; +Cc: linux-kernel
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().
-
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Anyone else kernel mounting a filesystem that has a block device?
2000-11-27 20:33 ` Alexander Viro
@ 2000-11-27 21:01 ` John Zielinski
0 siblings, 0 replies; 3+ messages in thread
From: John Zielinski @ 2000-11-27 21:01 UTC (permalink / raw)
To: linux-kernel
> 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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-27 21:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-27 20:24 Anyone else kernel mounting a filesystem that has a block device? John Zielinski
2000-11-27 20:33 ` Alexander Viro
2000-11-27 21:01 ` John Zielinski
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®