From 95b4cc8bbfc3a4ab58d872bba396044814f1e1e8 Mon Sep 17 00:00:00 2001 From: A Date: Sun, 3 May 2020 17:43:32 -0700 Subject: [PATCH] added docs for turn-in --- README_FIRST.txt | 42 ++++++ docs/execution_details.txt | 41 +++++ docs/log.csv | 301 +++++++++++++++++++++++++++++++++++++ docs/output.txt | Bin 0 -> 24358 bytes 4 files changed, 384 insertions(+) create mode 100644 README_FIRST.txt create mode 100644 docs/execution_details.txt create mode 100644 docs/log.csv create mode 100644 docs/output.txt diff --git a/README_FIRST.txt b/README_FIRST.txt new file mode 100644 index 0000000..0dc6a42 --- /dev/null +++ b/README_FIRST.txt @@ -0,0 +1,42 @@ +Programming Assignment #4 -- Filesystem + +Team members ------------------------------------------------------------------- + + Chris Nutter + Austin Kim + + +Files to be graded ------------------------------------------------------------- + + descriptor.c + filesystem.h + filesystem.c + + +File contents ------------------------------------------------------------------ + + disk.h Contains declarations of the filesystem functions as given + by the assignment (Header.c). + + disk.c Contains definitions of the filesystem functions as given by + the assignment (Source.c). + + descriptor.c Contains the file descriptor structure. + + filesystem.h Contains declarations of filesystem functins, filesystem + structures, and other helper functions. + + filesystem.c Contains the definitions of functions mentioned above. + + main.c Contains the driver code, e.g. tests. + + disks/ Folder containing the virtual disks. + + +Documentation ------------------------------------------------------------------ + + README_FIRST.txt This file. + + docs/execution_details.txt A brief how-to on building/running the program. + + docs/output.txt Raw dump of what a typical run looks like. diff --git a/docs/execution_details.txt b/docs/execution_details.txt new file mode 100644 index 0000000..c2e1b24 --- /dev/null +++ b/docs/execution_details.txt @@ -0,0 +1,41 @@ +Building ----------------------------------------------------------------------- + + If the executable are missing for C version of the assignment, run + $ gcc *.h *.c -o fs + + +Execution ---------------------------------------------------------------------- + + Run the program: + + $ ./fs + + + The program will ask if you want to load an existing disk or make a new one: + + Create a new disk? (y/n): + + + If this is the first time running the program, enter 'y' to create and + name the new disk: + + Create a new disk? (y/n): y + Name the new disk: mydisk + + + After that, the program runs automatically and exits. + + There's no special arguments needed. The main function runs a series of + tests using the functions defined. + + + If you want to load an existing disk, run the program again and choose 'n' + when asked to create a new disk: + + Create a new disk? (y/n): n + List of available disks: + test1 + test123 + asdf + Enter the name of disk to load: + diff --git a/docs/log.csv b/docs/log.csv new file mode 100644 index 0000000..f245760 --- /dev/null +++ b/docs/log.csv @@ -0,0 +1,301 @@ +thread_0,thread_1,thread_2,thread_3,thread_4,thread_5,thread_6,thread_7,thread_8,thread_9 +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +,push,,,,,,,, +,POP,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +push,,,,,,,,, +POP,,,,,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,push,,,,, +,,,,POP,,,,, +,,,,,,,,push, +,,,,push,,,,, +,,,,,,,,POP, +,,,,POP,,,,, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,,,,push, +,,,,,,,,POP, +,,,,,push,,,, +,,,,,POP,,,, +,,,push,,,,,, +,,,,,push,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,,push,,,,,, +,,,POP,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,push,,,,,,, +,,POP,,,,,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,,push,,, +,,,,,,POP,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,push,,,, +,,,,,POP,,,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,push,, +,,,,,,,POP,, +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP +,,,,,,,,,push +,,,,,,,,,POP diff --git a/docs/output.txt b/docs/output.txt new file mode 100644 index 0000000000000000000000000000000000000000..59586af7f0796ebc59d2496b88dad383ed96d3d0 GIT binary patch literal 24358 zcmeI4*>2lb5Qclrr5No#nL-=ZpM?uQV~D4 z9V{;!3<`@E50($T6D(Jp4ctm-xx(|!H}+hk+xh0Z^-$BktI%=@thx5YFmsfe;^(xhu27d-VqZY?OLsRNSSvvCW zwpy*`Rc&@SH|ws?*uC|&R?Rh`wbEK$-Ar_s=q}M+a`~{OpAY?f=;uQ}AA6jisWMa< zsti?zDx<+aW~nSymMTk?rOHxex#Rylv`uK6&^DoMLfeG432hVmTrHrTQ#+@2PVJo6 zt8@A|wtPW#;T>T`NL^mynQyPmP@8GDnT zY|t4_XE>eVbY{?*L1zY?8FXgQnPJz@f$FrR(~?e0I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