From 387a3bae29de6f151993ff980b393712725b5ad2 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Tue, 10 Jan 2023 21:12:48 +0100 Subject: [PATCH] Add example shell output regarding the test given by the university staff --- logs/test-mounting.txt | 26 ++++++++++++++++++++++++++ logs/test-unmounting.txt | 17 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 logs/test-mounting.txt create mode 100644 logs/test-unmounting.txt diff --git a/logs/test-mounting.txt b/logs/test-mounting.txt new file mode 100644 index 0000000..5b76fff --- /dev/null +++ b/logs/test-mounting.txt @@ -0,0 +1,26 @@ +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ mkdir 111 +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ fuseiso 111.image 111 +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ ll +insgesamt 50M +dr-xr-xr-x 1 root root 2,0K 15. Mai 2013 111/ +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 111.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 11.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 1.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Sep 2014 core-current.image +-rw-r--r-- 1 jonas jonas 249 10. Jan 20:02 download-isos.sh +-rw-r--r-- 1 jonas jonas 14M 10. Sep 2014 tinycore-current.image +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ cd .. +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds (master 3ee30d8-dirty)]$ ./cd-mount.sh images/ +images/core-current.image has been mounted to images/core-current +Something is already mounted to images/111. Skipping +images/tinycore-current.image has been mounted to images/tinycore-current +images/1.image has been mounted to images/1 +images/11.image has been mounted to images/11 +4/5 images have been mounted successfully +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds (master 3ee30d8-dirty)]$ ./cd-umount.sh images/ +images/core-current.image has been unmounted from images/core-current +images/111.image has been unmounted from images/111 +images/tinycore-current.image has been unmounted from images/tinycore-current +images/1.image has been unmounted from images/1 +images/11.image has been unmounted from images/11 +5/5 images have been unmounted successfully diff --git a/logs/test-unmounting.txt b/logs/test-unmounting.txt new file mode 100644 index 0000000..40c50f0 --- /dev/null +++ b/logs/test-unmounting.txt @@ -0,0 +1,17 @@ +insgesamt 50M +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 111.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 11.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Jan 20:55 1.image +-rw-r--r-- 1 jonas jonas 9,0M 10. Sep 2014 core-current.image +-rw-r--r-- 1 jonas jonas 249 10. Jan 20:02 download-isos.sh +-rw-r--r-- 1 jonas jonas 14M 10. Sep 2014 tinycore-current.image +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ mkdir 111 +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ fuseiso 111.image 111 +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds/images (master 3ee30d8-dirty)]$ cd .. +[jonas@jonasdesktop ~/repos/betriebssysteme/2/fuse-cds (master 3ee30d8-dirty)]$ ./cd-umount.sh images/ +Directory images/core-current does not exist. Skipping! +images/111.image has been unmounted from images/111 +Directory images/tinycore-current does not exist. Skipping! +Directory images/1 does not exist. Skipping! +Directory images/11 does not exist. Skipping! +1/5 images have been unmounted successfully