summaryrefslogtreecommitdiffstats
path: root/lib/libstand/stand.h
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-03-17 12:18:05 +0000
committersobomax <sobomax@FreeBSD.org>2002-03-17 12:18:05 +0000
commit9d703dcfedc6263b12ba725785b027e958c540f3 (patch)
treedd2d29323555872217afb04ebb572acebac59fcd /lib/libstand/stand.h
parent006a375bc447bfc5b3db07294bf35dbe748b38a9 (diff)
downloadFreeBSD-src-9d703dcfedc6263b12ba725785b027e958c540f3.zip
FreeBSD-src-9d703dcfedc6263b12ba725785b027e958c540f3.tar.gz
Add splitfs vfs layer into libstand, which allows loading big kernels and
modules split across several physical medias. Following is how it works: The splitfs code, when asked to open "foo" looks for a file "foo.split" which is a text file containing a list of filenames and media names, e.g. foo.aa "Kernel floppy 1" foo.ab "Kernel floppy 2" foo.ac "Kernel and modules floppy" For each file segment, the process is: - try to open the file - prompt "Insert the disk labelled <whatever> and press any key..." - try to open the file - return error if file could not be located RE team is free to use this feature in the upcoming 5.0-DP1. Reviewed by: msmith, dcs
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r--lib/libstand/stand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h
index fcbb2e8..c4b1fae 100644
--- a/lib/libstand/stand.h
+++ b/lib/libstand/stand.h
@@ -125,6 +125,7 @@ extern struct fs_ops zipfs_fsops;
extern struct fs_ops bzipfs_fsops;
extern struct fs_ops dosfs_fsops;
extern struct fs_ops ext2fs_fsops;
+extern struct fs_ops splitfs_fsops;
/* where values for lseek(2) */
#define SEEK_SET 0 /* set file offset to offset */
OpenPOWER on IntegriCloud