This website works better with JavaScript.
Explore
Register
Sign In
kernel
/
dracut
mirror of
https://git.kernel.org/pub/scm/boot/dracut/dracut.git/
Watch
1
Star
0
Fork
You've already forked dracut
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5875
Commits
1
Branch
68
Tags
6.7 MiB
Tree:
56ea45bd5a
master
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
033-502
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054
055
056
RHEL-7.1
RHEL-7.2
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '56ea45bd5a'
${ noResults }
dracut
/
modules.d
/
95virtfs
/
parse-virtfs.sh
8 lines
92 B
Raw
Normal View
History
Unescape
Escape
virtfs root filesystem support Qemu/KVM provides virtfs, a paravirtualised filesystem that is implemented by running the Plan 9 folder sharing protocol over virtio. Make booting with root=virtfs:foobar use the virtfs filesystem with mount tag 'foobar' as root filesystem, to allow booting virtual machines off virtfs. Note that this only handles 9p over virtio (i.e. virtfs), and doesn't attempt to handle mounting 9p filesystems over TCP/IP, for example. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
13 years ago
#!/bin/sh
style: shfmt reformat reproducible with: ``` $ shfmt_version=3.0.1 $ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O shfmt $ chmod u+x shfmt $ ./shfmt -w . ```
4 years ago
if
[
"
${
root
%%
:
*
}
"
=
"virtfs"
]
;
then
virtfs root filesystem support Qemu/KVM provides virtfs, a paravirtualised filesystem that is implemented by running the Plan 9 folder sharing protocol over virtio. Make booting with root=virtfs:foobar use the virtfs filesystem with mount tag 'foobar' as root filesystem, to allow booting virtual machines off virtfs. Note that this only handles 9p over virtio (i.e. virtfs), and doesn't attempt to handle mounting 9p filesystems over TCP/IP, for example. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
13 years ago
modprobe 9pnet_virtio
rootok
=
1
fi