We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7606caa commit e76d509Copy full SHA for e76d509
fatxfs/test.sh
@@ -8,8 +8,12 @@ function checksum {
8
mkdir -p c
9
10
# Format the disk
11
-fallocate -l 8G xbox_hdd.img
12
-fatxfs --format=retail --destroy-all-existing-data xbox_hdd.img c
+if [[ "$(uname)" == "Darwin" ]]; then
+ truncate -s 8g xbox_hdd.img
13
+else
14
+ fallocate -l 8G xbox_hdd.img
15
+fi
16
+fatxfs --format=retail --destroy-all-existing-data xbox_hdd.img c
17
sleep 1
18
19
# Copy a file in
0 commit comments