958b25be50
- Revise VFS-FS protocol and update VFS/MFS/ISOFS accordingly. - Clean up MFS by removing old, dead code (backwards compatibility is broken by the new VFS-FS protocol, anyway) and rewrite other parts. Also, make sure all functions have proper banners and prototypes. - VFS should always provide a (syntactically) valid path to the FS; no need for the FS to do sanity checks when leaving/entering mount points. - Fix several bugs in MFS: - Several path lookup bugs in MFS. - A link can be too big for the path buffer. - A mountpoint can become inaccessible when the creation of a new inode fails, because the inode already exists and is a mountpoint. - Introduce support for supplemental groups. - Add test 46 to test supplemental group functionality (and removed obsolete suppl. tests from test 2). - Clean up VFS (not everything is done yet). - ISOFS now opens device read-only. This makes the -r flag in the mount command unnecessary (but will still report to be mounted read-write). - Introduce PipeFS. PipeFS is a new FS that handles all anonymous and named pipes. However, named pipes still reside on the (M)FS, as they are part of the file system on disk. To make this work VFS now has a concept of 'mapped' inodes, which causes read, write, truncate and stat requests to be redirected to the mapped FS, and all other requests to the original FS.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Makefile for all system servers.
|
|
#
|
|
MAKE = exec make -$(MAKEFLAGS)
|
|
|
|
usage:
|
|
@echo "" >&2
|
|
@echo "Makefile for all system servers." >&2
|
|
@echo "Usage:" >&2
|
|
@echo " make build # Compile all system servers locally" >&2
|
|
@echo " make image # Compile servers in boot image" >&2
|
|
@echo " make clean # Remove local compiler results" >&2
|
|
@echo " make install # Install servers to /etc/servers/" >&2
|
|
@echo " (requires root privileges)" >&2
|
|
@echo "" >&2
|
|
|
|
build: all
|
|
all install depend clean:
|
|
cd ./pm && $(MAKE) $@
|
|
cd ./vfs && $(MAKE) $@
|
|
cd ./mfs && $(MAKE) $@
|
|
cd ./pfs && $(MAKE) $@
|
|
cd ./iso9660fs && $(MAKE) $@
|
|
cd ./rs && $(MAKE) $@
|
|
cd ./ds && $(MAKE) $@
|
|
cd ./is && $(MAKE) $@
|
|
cd ./vm && $(MAKE) $@
|
|
cd ./init && $(MAKE) $@
|
|
cd ./inet && $(MAKE) $@
|
|
cd ./ipc && $(MAKE) $@
|
|
|
|
image:
|
|
cd ./pm && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./vfs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./pfs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./mfs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./rs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./ds && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./vm && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
cd ./init && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
|
|
|