Anyone else kernel mounting a filesystem that has a block device?
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines · John Zielinski
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines · John Zielinski
Quoted 2 lines
I'm going to be mounting a filesystem that uses a block device from
inside
Quoted 2 lines
Quoted 2 lines
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
Quoted 3 lines
Quoted 1 line
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/