New Linux Patch To Allow Booting From Arbitrary Non-Block Device File-Systems
Written by Michael Larabel in Linux Storage on 18 June 2021 at 07:00 AM EDT. 6 Comments
LINUX STORAGE --
The Linux kernel currently has code to allow booting an initial root file-system via NFS or CIFS for non-blockdevice file-systems while a new patch aims to allow for mounting of arbitrary non-block device file-systems as root.

Longtime kernel developer Christoph Hellwig sent out this new patch based on earlier work by Red Hat's Vivek Goyal. Extending the CIFS and NFS root file-system support right now in the kernel, this extension allows for arbitrary non-block device file-systems to be used for the root file-system.

One of the motivations for this patch is for easily allowing VirtIO FS root file-systems with options such as "root=myfs rootfstype=virtiofs rw" but can just as well apply to other file-systems too with this patch of just 40 lines of new code.

See this kernel mailing list thread if such functionality is of interest to you.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week