.TH VDISK.CONF 5 .SH NAME vdisk.conf \- Virtual Disk configuration file .SH SYNOPSIS .B /etc/vdisk.conf .SH DESCRIPTION The .B /etc/vdisk.conf is used by .B vdisk_ctrl to configure virtual disk devices. This is done automatically by .B /etc/rc at boot time. .PP The file has a very simple format: words separated by whitespace. Comments start with the .B '#' character and continue until end of line. Separate tokens must be separated by whitespace. A command that programs a virtual disk device has the form: .PP .RS .I vdisk .B = .I subdisk .RB "[ " + .IR subdisk " ] ..." .RE .PP Where the part between [ and ] is repeated zero or more times, so it looks as if .I vdisk is the sum of one or more devices, which is more or less as it is. The disk devices are sought relative to the .B /dev directory, so names can be short. .SH EXAMPLE Suppose a system has two disks, .B hd0 and .BR hd5 , both too small to install Minix on properly. One could configure the disks to have .B hd1 and .B hd2 be the root and tmp+swap devices, and to combine .B hd3 and .B hd5 into .B vd0 for /usr. The .B vdisk.conf line is simply: .PP .RS .B "vd0 = hd3 + hd5" .RE .PP It doesn't matter that .B hd3 is a partition and .B hd5 is a whole disk. .SH FILES .TP 20n .B /etc/vdisk.conf Virtual Disk configuration file .SH "SEE ALSO" .BR vd (4), .BR vdisk_ctrl (8), .BR boot (8). .SH AUTHOR Kees J. Bot (kjb@cs.vu.nl)