filesystem: Add /usr/lib/liberror.txt expected by strerror()
authorWill Sowerbutts <will@sowerbutts.com>
Sat, 24 Jan 2015 23:03:08 +0000 (23:03 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Sat, 24 Jan 2015 23:05:05 +0000 (23:05 +0000)
Standalone/filesystem-src/ucp-script.txt
Standalone/filesystem-src/usr-files/lib/liberror.txt [new file with mode: 0644]

index a9e3121..92e2478 100644 (file)
@@ -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 (file)
index 0000000..93b4f79
--- /dev/null
@@ -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