fc699e8440
- Good bye SYS_PBOOT and SYS_NBOOT, hello SYS_UBOOT (unified boot) Currently supports booting from SCSI and HP-IB disk and network from a single boot block. Infrastructure for booting from HP-IB tape is there, but it doesn't quite work yet. - Add a slightly modified version of Gordon Ross's "rawfs", which provides a filesystem-like interface to tape devices. Still needs debugging (see above). - Rename sys_inst.c to inst.c, so that the LIF directory entry turns out right (used to look like SYS_SYS_I if loaded from tape). - Add a "netio_ask" hint to netio.c, so that a special instnetio.o doesn't have to be compiled for SYS_INST. Defaults to using bootparams, but if set, will prompt user for information usually obtained from bootparams. - General cleanup.
16 lines
569 B
C
16 lines
569 B
C
/* $NetBSD: rawfs.h,v 1.1 1996/06/26 17:44:36 thorpej Exp $ */
|
|
|
|
/*
|
|
* Raw file system - for stream devices like tapes.
|
|
* No random access, only sequential read allowed.
|
|
*/
|
|
|
|
int rawfs_open __P((char *path, struct open_file *f));
|
|
int rawfs_close __P((struct open_file *f));
|
|
int rawfs_read __P((struct open_file *f, void *buf,
|
|
u_int size, u_int *resid));
|
|
int rawfs_write __P((struct open_file *f, void *buf,
|
|
u_int size, u_int *resid));
|
|
off_t rawfs_seek __P((struct open_file *f, off_t offset, int where));
|
|
int rawfs_stat __P((struct open_file *f, struct stat *sb));
|