diff --git a/doc/rascsi.1 b/doc/rascsi.1 index 92652948..317b3632 100644 --- a/doc/rascsi.1 +++ b/doc/rascsi.1 @@ -99,7 +99,7 @@ Launch RaSCSI with an Apple hard drive image as ID 0 and a CD-ROM as ID 2 Launch RaSCSI with a removable SCSI drive image as ID 0 and the raw device file /dev/hdb (e.g. a USB stick) and a DaynaPort network adapter as ID 6: rascsi -ID0 -t scrm /dev/hdb -ID6 -t scdp daynaport -To create an empty, 100MB HD image, use the following command: +To create an empty, 100MiB HD image, use the following command: dd if=/dev/zero of=/path/to/newimage.hda bs=512 count=204800 In case the fallocate command is available a much faster alternative to the dd command is: diff --git a/doc/rascsi_man_page.txt b/doc/rascsi_man_page.txt index 9950e90c..6f12f5b6 100644 --- a/doc/rascsi_man_page.txt +++ b/doc/rascsi_man_page.txt @@ -128,7 +128,7 @@ EXAMPLES as ID 6: rascsi -ID0 -t scrm /dev/hdb -ID6 -t scdp daynaport - To create an empty, 100MB HD image, use the following command: + To create an empty, 100MiB HD image, use the following command: dd if=/dev/zero of=/path/to/newimage.hda bs=512 count=204800 In case the fallocate command is available a much faster alternative to diff --git a/easyinstall.sh b/easyinstall.sh index 4d4fcc7a..77489f4e 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -567,7 +567,7 @@ function showMacproxyStatus() { } # Creates a drive image file with specific parameters -function createDrive600MB() { +function createDrive600M() { createDrive 600 "HD600" } @@ -575,7 +575,7 @@ function createDrive600MB() { function createDriveCustom() { driveSize=-1 until [ $driveSize -ge "10" ] && [ $driveSize -le "4000" ]; do - echo "What drive size would you like (in MB) (10-4000)" + echo "What drive size would you like (in MiB) (10-4000)" read driveSize echo "How would you like to name that drive?" @@ -666,10 +666,10 @@ function createDrive() { driveSize=$1 driveName=$2 mkdir -p "$VIRTUAL_DRIVER_PATH" - drivePath="${VIRTUAL_DRIVER_PATH}/${driveSize}MB.hda" + drivePath="${VIRTUAL_DRIVER_PATH}/${driveSize}M.hda" if [ ! -f "$drivePath" ]; then - echo "Creating a ${driveSize}MB Drive" + echo "Creating a ${driveSize}MiB Drive" truncate --size "${driveSize}m" "$drivePath" echo "Formatting drive with HFS" @@ -1190,9 +1190,9 @@ function runChoice() { echo "Installing / Updating RaSCSI OLED Screen - Complete!" ;; 4) - echo "Creating an HFS formatted 600MB drive image with LIDO driver" - createDrive600MB - echo "Creating an HFS formatted 600MB drive image with LIDO driver - Complete!" + echo "Creating an HFS formatted 600 MiB drive image with LIDO driver" + createDrive600M + echo "Creating an HFS formatted 600 MiB drive image with LIDO driver - Complete!" ;; 5) echo "Creating an HFS formatted drive image with LIDO driver" @@ -1316,8 +1316,8 @@ function showMenu() { echo " 3) install or update RaSCSI OLED Screen (requires hardware)" echo "CREATE HFS FORMATTED (MAC) IMAGE WITH LIDO DRIVERS" echo "** For the Mac Plus, it's better to create an image through the Web Interface **" - echo " 4) 600MB drive (suggested size)" - echo " 5) custom drive size (up to 4000MB)" + echo " 4) 600 MiB drive (suggested size)" + echo " 5) custom drive size (up to 4000 MiB)" echo "NETWORK BRIDGE ASSISTANT" echo " 6) configure network bridge for Ethernet (DHCP)" echo " 7) configure network bridge for WiFi (static IP + NAT)" diff --git a/python/web/src/templates/drives.html b/python/web/src/templates/drives.html index 0d007ce4..76393faf 100644 --- a/python/web/src/templates/drives.html +++ b/python/web/src/templates/drives.html @@ -10,7 +10,7 @@
{{ _("%(disk_space)s MB disk space remaining on the Pi", disk_space=free_disk) }}
+{{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=free_disk) }}
{% endblock content %} diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index 8f896305..4eb43528 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -231,7 +231,7 @@{{ _("%(disk_space)s MB disk space remaining on the Pi", disk_space=free_disk) }}
+{{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=free_disk) }}