From 47881a30aa3adc1f6193a3402a94efe0c5ef9ff0 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sun, 22 Nov 2020 02:59:31 -0800 Subject: [PATCH] Added README, LICENSE, Makefile for future PDP-11 Unix FUSE fs driver project. --- LICENSE.txt | 21 +++++++++++++++++++++ Makefile | 25 +++++++++++++++++++++++++ README.md | 21 +++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 LICENSE.txt create mode 100644 Makefile create mode 100644 README.md diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..7c29737 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT/X Consortium License + +© 2020 Aaron Taylor + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..733abf5 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# © 2020 Aaron Taylor +# See LICENSE.txt file for copyright and license details. + +PREFIX = $(HOME) +BINPREFIX = $(PREFIX)/bin + +CC = cc +CC_FLAGS = -std=c99 -I/usr/local/include + +all: v6fs + +v6fs: + @$(CC) $(CC_FLAGS) -o $@ v6.c unixfs.c + +install: bin2load + @mkdir -p $(BINPREFIX) + @cp ./v6fs $(BINPREFIX)/v6fs + @chmod +x $(BINPREFIX)/v6fs + +uninstall: + @rm $(BINPREFIX)/v6fs + +clean: + @rm -f v6fs v6fs.core + diff --git a/README.md b/README.md new file mode 100644 index 0000000..a60faf7 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Overview # + +This is a read-only FUSE filesystem driver for V6 UNIX filesystems. The +original author is unknown and the code appears to be a WIP. + +I intend to clean it up, add support for writes, and teach it to speak the +other common PDP-11 UNIX filesystem variants. + + +# Status # + +Difficult to build but tested successfully on Linux with a V6 UNIX RK05 image. + + +# Instructions # + +If you succeed in building the software, use the following command to mount an +image. + + v6fs -d image_rk.dsk /mount/point + -- 2.20.1