diff --git a/disk/diskStructures.py b/disk/diskStructures.py index 439204b..6bf529a 100644 --- a/disk/diskStructures.py +++ b/disk/diskStructures.py @@ -88,7 +88,7 @@ def get_data(self): return perm(self.data) def mode(self): - if len(self) < SHORT_MODE_LIMIT * BLOCK_SIZE: + if len(self) <= SHORT_MODE_LIMIT * BLOCK_SIZE: return 0 else: return 1 diff --git a/filesystem/bin/cat b/filesystem/bin/cat index 84c6c58..66befc0 100755 Binary files a/filesystem/bin/cat and b/filesystem/bin/cat differ diff --git a/filesystem/bin/echo b/filesystem/bin/echo index 17f7a65..48a8681 100755 Binary files a/filesystem/bin/echo and b/filesystem/bin/echo differ diff --git a/filesystem/bin/grep b/filesystem/bin/grep index 6247fd0..1a1b035 100755 Binary files a/filesystem/bin/grep and b/filesystem/bin/grep differ diff --git a/filesystem/bin/hexdump b/filesystem/bin/hexdump index cdcd4a4..4f6b102 100755 Binary files a/filesystem/bin/hexdump and b/filesystem/bin/hexdump differ diff --git a/filesystem/bin/neofetch b/filesystem/bin/neofetch index 5598ac4..6b06244 100755 Binary files a/filesystem/bin/neofetch and b/filesystem/bin/neofetch differ diff --git a/filesystem/bin/snake b/filesystem/bin/snake deleted file mode 100755 index 78c960d..0000000 Binary files a/filesystem/bin/snake and /dev/null differ diff --git a/filesystem/bin/top b/filesystem/bin/top index 57fe41a..89a0b92 100755 Binary files a/filesystem/bin/top and b/filesystem/bin/top differ diff --git a/filesystem/clock b/filesystem/clock index 1e1b134..0ab29e4 100755 Binary files a/filesystem/clock and b/filesystem/clock differ diff --git a/filesystem/ferr_shell b/filesystem/ferr_shell index 17511e1..76a78b2 100755 Binary files a/filesystem/ferr_shell and b/filesystem/ferr_shell differ diff --git a/filesystem/games/snake b/filesystem/games/snake index 374fefa..b753b62 100755 Binary files a/filesystem/games/snake and b/filesystem/games/snake differ diff --git a/src/user_program/launcher b/src/user_program/launcher index 957ee21..c90ef2c 100755 Binary files a/src/user_program/launcher and b/src/user_program/launcher differ