diff utility/fsGen.py @ 100:d8f21e4a75e3

Added a simple program that is just an infinite loop The heap now starts at 8MB I now try to set the context to the loaded program when it is called in the shell script
author Jonathan Pevarnek <pevarnj@gmail.com>
date Thu, 19 May 2011 09:40:10 -0400
parents 2a0aa3efc228
children
line wrap: on
line diff
--- a/utility/fsGen.py	Sat May 14 19:40:18 2011 -0400
+++ b/utility/fsGen.py	Thu May 19 09:40:10 2011 -0400
@@ -117,6 +117,7 @@
 		blocks[t] = y
 
 	i = make_inode(l, fb)
+	foo, bar, fn = fn.rpartition('/')
 	d += (fn + (" " * (28 - len(fn)))) + word(i)
 
 db = rand_block()
@@ -136,3 +137,5 @@
 	else:
 		assert (len(blocks[k]) == BLOCK_SIZE)
 		sys.stdout.write(blocks[k])
+
+# vim: set noexpandtab: