Revision: 5746
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5746&view=rev
Author:   owes
Date:     2011-07-19 17:34:19 +0000 (Tue, 19 Jul 2011)

Log Message:
-----------
Use 1 MiB as starting point for root partition. This leaves a small gap, but 
should be better for performance etc.. Some disks give trouble because the disk 
is smaller than advertised, not sure if there is an easy way around that.

Modified Paths:
--------------
    ipcop/trunk/src/scripts/disk-partition.sh

Modified: ipcop/trunk/src/scripts/disk-partition.sh
===================================================================
--- ipcop/trunk/src/scripts/disk-partition.sh   2011-07-19 17:29:10 UTC (rev 
5745)
+++ ipcop/trunk/src/scripts/disk-partition.sh   2011-07-19 17:34:19 UTC (rev 
5746)
@@ -103,9 +103,8 @@
     x86)
         erase_partition
         parted_call "$dev mklabel msdos"
-        # disks are optimized for win that had the habit until XP to start 
first partition at 63s
-        parted_call "$dev mkpart primary 63s ${root_size}MiB"
-        parted_call "$dev mkpart primary ${root_size}MiB ${disk_size}MiB"
+        parted_call "$dev mkpart primary 1MiB ${root_size}MiB"
+        parted_call "$dev mkpart primary $((${root_size}+1))MiB 
${disk_size}MiB"
         parted_call "$dev set 1 boot on"
         if [ $raid = "yes" ]; then
             parted_call "$dev set 1 raid on"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to