diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-14 16:23:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-08-23 01:25:40 -0400 |
commit | f9259be6a9e7c22d92e5a5000913147ae17e8321 (patch) | |
tree | 6452f96496ca16dcbfd766126489729ca9832125 /Documentation/RCU | |
parent | e24d12b7442afa9d41331a951fca467449ff1488 (diff) |
init: allow mounting arbitrary non-blockdevice filesystems as root
Currently the only non-blockdevice filesystems that can be used as the
initial root filesystem are NFS and CIFS, which use the magic
"root=/dev/nfs" and "root=/dev/cifs" syntax that requires the root
device file system details to come from filesystem specific kernel
command line options.
Add a little bit of new code that allows to just pass arbitrary
string mount options to any non-blockdevice filesystems so that it can
be mounted as the root file system.
For example a virtiofs root file system can be mounted using the
following syntax:
"root=myfs rootfstype=virtiofs rw"
Based on an earlier patch from Vivek Goyal <vgoyal@redhat.com>.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions