History log of /src/stand/libsa/splitfs.c (Results 1 – 17 of 17)
Revision Date Author Comments
# aaf65a13 20-Aug-2025 Simon J. Gerraty <sjg@FreeBSD.org>

stand: add fs_ops.fs_flag

To avoid a layering violation in open() allow fs_ops to
indicate that devopen() should be skipped.

This is only true for pkgfs.

Sponsored by: Juniper Networks, Inc.
Diffe

stand: add fs_ops.fs_flag

To avoid a layering violation in open() allow fs_ops to
indicate that devopen() should be skipped.

This is only true for pkgfs.

Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D51684

show more ...


# 3e15b01d 22-Feb-2024 Warner Losh <imp@FreeBSD.org>

libsa: Remove redundant sys/cdefs.h

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 9450d9c4 24-Jul-2022 Warner Losh <imp@FreeBSD.org>

stand: Use c99 structure initialization for splitfs_fsops

Sponsored by: Netflix


# aaf65a13 20-Aug-2025 Simon J. Gerraty <sjg@FreeBSD.org>

stand: add fs_ops.fs_flag

To avoid a layering violation in open() allow fs_ops to
indicate that devopen() should be skipped.

This is only true for pkgfs.

Sponsored by: Juniper Networks, Inc.
Diffe

stand: add fs_ops.fs_flag

To avoid a layering violation in open() allow fs_ops to
indicate that devopen() should be skipped.

This is only true for pkgfs.

Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D51684

show more ...


# 3e15b01d 22-Feb-2024 Warner Losh <imp@FreeBSD.org>

libsa: Remove redundant sys/cdefs.h

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 9450d9c4 24-Jul-2022 Warner Losh <imp@FreeBSD.org>

stand: Use c99 structure initialization for splitfs_fsops

Sponsored by: Netflix


# ca987d46 14-Nov-2017 Warner Losh <imp@FreeBSD.org>

Move sys/boot to stand. Fix all references to new location

Sponsored by: Netflix


# 4eb1313f 12-Oct-2017 Warner Losh <imp@FreeBSD.org>

Move lib/libstand to sys/boot/libsa

Move the sources to sys/boot. Make adjustments related to the
move. Kill LIBSTAND_SRC since it's no longer needed.

Sponsored by: Netflix


# e479377e 20-May-2005 Philippe Charnier <charnier@FreeBSD.org>

Remove unused variable. Shorten the path to WARNS=6 compliance.


# 5a9e72a7 03-Oct-2004 Stefan Farfeleder <stefanf@FreeBSD.org>

Don't add integers to void pointers.


# fb6b710c 21-Jan-2004 John Baldwin <jhb@FreeBSD.org>

Clean up error handling in libstand filesystem code to be more consistent:
- bzipfs and gzipfs now properly return errno values directly from their
read routines rather than returning -1.
- missing

Clean up error handling in libstand filesystem code to be more consistent:
- bzipfs and gzipfs now properly return errno values directly from their
read routines rather than returning -1.
- missing errno values on error returns for the seek routines on almost
all filesystems were added.
- fstat() now returns -1 if an error occurs rather than ignoring it.
- nfs's readdir() routine now reports valid errno values if an error or
EOF occurs rather than EPERM (It was just returning 0 for success and
1 for failure).
- nullfs used the wrong semantics for every function besides close() and
seek(). Getting it right for close() appears to be an accident at that.
- read() for buffered files no longer returns 0 (EOF) if an error occurs,
but returns -1 instead.

show more ...


# 7d45c61f 15-Jan-2004 John Baldwin <jhb@FreeBSD.org>

- Move the code to try to open a single chunk file and prompt for the
associated floppy if needed into a static split_openfile() function.
- Use this function in splitfs_open() to open the first ch

- Move the code to try to open a single chunk file and prompt for the
associated floppy if needed into a static split_openfile() function.
- Use this function in splitfs_open() to open the first chunk rather
than using open() directly. This allows the first chunk to be located
on a different disk than the actual foo.split file.

show more ...


# 4b609f55 15-Jan-2004 John Baldwin <jhb@FreeBSD.org>

Whitespace tweaks to make indentation consistent within this file and even
within a single function.


# 0414cddf 21-Mar-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Kill debugging printf() slipped into my last commit.

Noticed by: jhb
Hall of shame entry: sobomax


# fb74e5f5 17-Mar-2002 Maxim Sobolev <sobomax@FreeBSD.org>

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 fo

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

show more ...