Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2018-07-12 21:40:58
Also in
linux-fsdevel, lkml
Reply to
David Howells, 2018-07-12
On Thu, Jul 12, 2018 at 2:00 PM David Howells [off-list ref] wrote:

for example:

        fd = fsopen("ext4", FSOPEN_CLOEXEC);
        fsconfig(fd, fsconfig_blockdev, "dev.data", "/dev/sda1", ...);
        fsconfig(fd, fsconfig_blockdev, "dev.journal", "/dev/sda2", ...);
Ok, that looks good to me. It also avoids the parsing issue with using
an interface like "write()", where the expectation is that you can
append things etc.

              Linus
Thread (64 messages) 64 messages, 11 authors, last reply 2019-10-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help