[patch] usb_inst.sh minor suggestions

Post there if you plan to contribute to this SystemCd
BobBib
Posts: 4
Joined: 05 Jun 2014, 23:27

[patch] usb_inst.sh minor suggestions

Postby BobBib » 17 Jun 2014, 19:37

  1. What is the reason of using "/var/tmp" instead of just "/tmp"?
  2. 512 megabyte USB drives usually have a capacity lower than 512 MiB;
    as the SystemRescueCd files currently occupy less than 400 MiB (just slightly over 380 MiB), IMHO, 450 MiB would be sufficient.

Code: Select all

--- a/usb_inst.sh
+++ b/usb_inst.sh.new
@@ -5,9 +5,9 @@
 
 ###############################################################################
 
-logfile="/var/tmp/usb_inst.log"
-TMPDIR="/var/tmp/usb_inst.tmp"
-MINSIZEMB=512
+logfile="/tmp/usb_inst.log"
+TMPDIR="/tmp/usb_inst.tmp"
+MINSIZEMB=450
 PROGIMG="${0}"
 PROGLOC="$(dirname ${0})"
 CDFILES=('sysrcd.dat' 'sysrcd.md5' 'version' '???linux/initram.igz'

Return to “Contributions”

Who is online

Users browsing this forum: No registered users and 1 guest