oskit/oskit-20020317/netdisk
dzavalishin f85eb2576f import 2016-02-19 15:02:31 +03:00
..
GNUmakefile.in import 2016-02-19 15:02:31 +03:00
GNUmakerules import 2016-02-19 15:02:31 +03:00
README import 2016-02-19 15:02:31 +03:00
debug.h import 2016-02-19 15:02:31 +03:00
devices.c import 2016-02-19 15:02:31 +03:00
driver.c import 2016-02-19 15:02:31 +03:00
driver.h import 2016-02-19 15:02:31 +03:00
fileops.c import 2016-02-19 15:02:31 +03:00
fileops.h import 2016-02-19 15:02:31 +03:00
image.c import 2016-02-19 15:02:31 +03:00
image.h import 2016-02-19 15:02:31 +03:00
imagehdr.h import 2016-02-19 15:02:31 +03:00
log.c import 2016-02-19 15:02:31 +03:00
main.c import 2016-02-19 15:02:31 +03:00
mem_lock.c import 2016-02-19 15:02:31 +03:00
misc.c import 2016-02-19 15:02:31 +03:00
misc.h import 2016-02-19 15:02:31 +03:00
perfmon.h import 2016-02-19 15:02:31 +03:00
rpc.c import 2016-02-19 15:02:31 +03:00
rpc.h import 2016-02-19 15:02:31 +03:00
sleep.c import 2016-02-19 15:02:31 +03:00
socket.c import 2016-02-19 15:02:31 +03:00
socket.h import 2016-02-19 15:02:31 +03:00
timer.c import 2016-02-19 15:02:31 +03:00
timer.h import 2016-02-19 15:02:31 +03:00

README

Directories: oskit/netdisk
Target: netdisk
Documentation: none
Original Code Source: Flux Research Group, University of Utah
Description: 
	NetDisk is a kernel that allows you to write data to raw
	partitions on any disk. You can write either the entire disk,
	a slice, or a BSD partition inside of a slice.

	This ability is useful for loading disks or partitions with
	complete disk images (such as filesystems, boot blocks, etc).

	The image must be in the format expected by netdisk, as
	described in imagehdr.h in this directory. This is a simple
	format, with a single 1K block prepended to hold the size of
	the image and a magic number.

	Netdisk optionally (default is on) uses the zlib compression
	library. In this case, the image data may be compressed, as
	indicated by the magic number in the header described above.

	Netdisk can be compiled to use either the UDP library or the
	complete freebsd network stack. This is controlled by the
	FREEBSD_NET define. The default is the UDP library since the
	freebsd library makes for a much bigger binary.

	You can use netdisk in either command line or interactive
	mode. If provided with a command line, netdisk will load the
	requested partitions and then exit. In interactive mode, you
	issues load requests and then type "exit" or "quit" to exit
	the command loop. The format of a command in either case is:

	       <IPaddr|host>:<path> <partition>[:partition]
	       
	   For example:

	       155.22.33.44:/home/foo/diskimage wd1
	   or
	       myhost:/home/foo/diskimage wd1:b

	Multiple commands can be issued in both interactive and
	command line mode. The directory containing the image file
	must be an NFS exported directory.

	In the above example, "myhost" will be passed to the DNS
	library for hostname lookup. The default domain is the one
	supplied in the bootp response.