From: Will Sowerbutts Date: Sat, 24 Jan 2015 23:03:08 +0000 (+0000) Subject: filesystem: Add /usr/lib/liberror.txt expected by strerror() X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c3daa628d912dfb023deefdebf84f3b0a536ec66;p=FUZIX.git filesystem: Add /usr/lib/liberror.txt expected by strerror() --- diff --git a/Standalone/filesystem-src/ucp-script.txt b/Standalone/filesystem-src/ucp-script.txt index a9e3121a..92e24786 100644 --- a/Standalone/filesystem-src/ucp-script.txt +++ b/Standalone/filesystem-src/ucp-script.txt @@ -3,10 +3,19 @@ mkdir bin mkdir dev mkdir etc mkdir tmp +mkdir usr chmod 0775 bin chmod 0775 dev chmod 0775 etc chmod 01777 tmp +chmod 0775 usr + +cd /usr +mkdir lib +chmod 0775 lib +cd lib +bget usr-files/lib/liberror.txt +chmod 0644 liberror.txt cd /dev mknod tty1 20660 513 diff --git a/Standalone/filesystem-src/usr-files/lib/liberror.txt b/Standalone/filesystem-src/usr-files/lib/liberror.txt new file mode 100644 index 00000000..93b4f794 --- /dev/null +++ b/Standalone/filesystem-src/usr-files/lib/liberror.txt @@ -0,0 +1,37 @@ +1 Operation not permitted +2 No such file or directory +3 No such process +4 Interrupted system call +5 I/O error +6 No such device or address +7 Arg list too long +8 Exec format error +9 Bad file number +10 No child processes +11 Try again +12 Out of memory +13 Permission denied +14 Bad address +15 Block device required +16 Device or resource busy +17 File exists +18 Cross-device link +19 No such device +20 Not a directory +21 Is a directory +22 Invalid argument +23 File table overflow +24 Too many open files +25 Not a typewriter +26 Text file busy +27 File too large +28 No space left on device +29 Illegal seek +30 Read-only file system +31 Too many links +32 Broken pipe +33 Math argument out of domain of func +34 Math result not representable +35 Lock table full +36 Directory is not empty +37 File name too long