/[fai]/people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm
ViewVC logotype

Log of /people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4953)

Revision 4866 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 9 12:45:38 2008 UTC (5 years, 1 month ago) by mt
File length: 24199 byte(s)
Diff to previous 4863
parentheses and me, we're not gonna become friends...

Revision 4863 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 19:50:23 2008 UTC (5 years, 1 month ago) by mt
File length: 24197 byte(s)
Diff to previous 4862
- proper resizing of ntfs volumes (but moving is not supported)
- catch more parted error messages
- warn, if any command exits with a non-zero exit status

Revision 4862 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 17:11:50 2008 UTC (5 years, 1 month ago) by mt
File length: 23573 byte(s)
Diff to previous 4861
some parentheses were necessary, though. GRRRR

Revision 4861 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 16:07:02 2008 UTC (5 years, 1 month ago) by mt
File length: 23571 byte(s)
Diff to previous 4860
extract the proper substrings (copy&paste error)

Revision 4860 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 15:36:30 2008 UTC (5 years, 1 month ago) by mt
File length: 23556 byte(s)
Diff to previous 4859
support cciss et al. as well in size estimation

Revision 4859 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 15:30:31 2008 UTC (5 years, 1 month ago) by mt
File length: 23428 byte(s)
Diff to previous 4850
bug fixing:
- sort partition ids _numerically_ - always.
- when creating or rebuilding partitions, set a proper partition id as well

Revision 4850 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 13 21:01:20 2008 UTC (5 years, 2 months ago) by mt
File length: 23372 byte(s)
Diff to previous 4841
properly deal with virtual configs:
- we can't check for /dev/hda, it doesn't exist (that's the point of a virtual
  config, after all)
- for virtual configs, there is no limit on the number of primary partitions

Revision 4841 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 26 09:45:49 2008 UTC (5 years, 3 months ago) by mt
File length: 23260 byte(s)
Diff to previous 4840
made make_range accept floating point values as well, call make_range always
with proper units (otherwise MB would be assumed instead of B)

Revision 4840 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 25 19:15:23 2008 UTC (5 years, 3 months ago) by mt
File length: 23202 byte(s)
Diff to previous 4839
convert_unit returns MB, not B

Revision 4839 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 25 17:18:48 2008 UTC (5 years, 3 months ago) by mt
File length: 23249 byte(s)
Diff to previous 4836
- added debug output to make_range
- removed the udevsettle call, it's not necessary

Revision 4836 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 7 19:33:00 2008 UTC (5 years, 4 months ago) by mt
File length: 23184 byte(s)
Diff to previous 4835
yes, 1 Byte is 1024*1024 MBytes, right? :-) - fixed that stupidity.

Revision 4835 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 7 12:31:43 2008 UTC (5 years, 4 months ago) by mt
File length: 23184 byte(s)
Diff to previous 4832
extend user information in case of too little space

Revision 4832 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 23 15:20:43 2007 UTC (5 years, 4 months ago) by mt
File length: 23134 byte(s)
Diff to previous 4831
code cleanup done, remaining TODOs are in the Wiki, but testing is probably the
most important thing.

Revision 4831 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 22 23:05:14 2007 UTC (5 years, 4 months ago) by mt
File length: 23565 byte(s)
Diff to previous 4769
huge cleanup as suggested by Thomas - apart from compute_partition_sizes
everything should be done

Revision 4769 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 18 16:22:06 2007 UTC (5 years, 6 months ago) by michael-guest
File length: 23398 byte(s)
Diff to previous 4722
minor fixes according to the suggestions of Thomas and Henning

Revision 4722 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 21:51:39 2007 UTC (5 years, 6 months ago) by michael-guest
File length: 23510 byte(s)
Diff to previous 4715
fixes wrong syntax for references, removed useless quotes for hash keys

Revision 4715 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 12:49:00 2007 UTC (5 years, 6 months ago) by michael-guest
File length: 23842 byte(s)
Diff to previous 4713
more extensive use of references

Revision 4713 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 11:21:59 2007 UTC (5 years, 6 months ago) by michael-guest
File length: 26004 byte(s)
Copied from: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes revision 4708
Diff to previous 4708
moved the files around to later use /usr/share/fai/storage-magic/

Revision 4708 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 10:36:18 2007 UTC (5 years, 6 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 26004 byte(s)
Diff to previous 4614
updated the FSF address and removed the document_template

Revision 4614 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 9 18:36:33 2007 UTC (5 years, 7 months ago) by andreas
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 26001 byte(s)
Diff to previous 4293
make tidy

Revision 4293 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 07:27:20 2007 UTC (5 years, 11 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 25854 byte(s)
Diff to previous 4048
Here we go: setup_harddisks_2 seems to work; I'll send more information to
linux-fai-devel soon

Revision 4048 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 1 22:16:25 2006 UTC (6 years, 7 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 21883 byte(s)
Diff to previous 4047
whitespace cleanup only (by perltidy)

Revision 4047 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 1 22:10:14 2006 UTC (6 years, 7 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 21836 byte(s)
Diff to previous 3977
added more comments

Revision 3977 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 18 18:32:49 2006 UTC (6 years, 8 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 18792 byte(s)
Diff to previous 3870
trying to get the code cleaner, in small steps ...

Revision 3870 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 5 23:09:27 2006 UTC (6 years, 8 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 16407 byte(s)
Diff to previous 3672
whitespace change only - sorry...

Revision 3672 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 22:05:48 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 16397 byte(s)
Diff to previous 3671
minor fixes of bugs introduced with the prior commit, started commenting and
improving shdd2-sizes. Good night guys!

Revision 3671 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 20:26:11 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 13018 byte(s)
Diff to previous 3670
minor wording, added comment frame

Revision 3670 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 20:22:23 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 12547 byte(s)
Diff to previous 3669
renamed bash_commands to system_commands, comment cleanup

Revision 3669 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 20:05:49 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 12539 byte(s)
Diff to previous 3668
whitespace cleanup and some comments added 

Revision 3668 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 19:43:59 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 12540 byte(s)
Diff to previous 3667
added GPL-header

Revision 3667 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 19:41:21 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 11570 byte(s)
Diff to previous 3666
added revision Id

Revision 3666 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 19:40:32 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 11570 byte(s)
Diff to previous 3660
lots of cleanup, some of the code is more perlish (and thus less readable) - and
quite of lot of comments were added

Revision 3660 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 11:39:07 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 11198 byte(s)
Diff to previous 3659
updated to parted 1.7

Revision 3659 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 11:20:09 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 11108 byte(s)
Diff to previous 3655
fixes and cleanup

Revision 3655 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 10:52:37 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 10906 byte(s)
Diff to previous 3650


Revision 3650 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 10:25:17 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 10929 byte(s)
Diff to previous 3638


Revision 3638 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 23 00:11:03 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 10669 byte(s)
Diff to previous 3634
backup

Revision 3634 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 23:48:45 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 9110 byte(s)
Diff to previous 3629


Revision 3629 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 22:49:43 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 8695 byte(s)
Diff to previous 3627
replaced warn by die

Revision 3627 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 22:25:39 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 8528 byte(s)
Diff to previous 3619
moved to functions

Revision 3619 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 20:35:47 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 8001 byte(s)
Diff to previous 3618
added commands

Revision 3618 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 17:13:33 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 7199 byte(s)
Diff to previous 3617
fixed indentions

Revision 3617 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 17:08:08 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 8975 byte(s)
Diff to previous 3616
perltidy

Revision 3616 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 14:46:18 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 7226 byte(s)
Diff to previous 3609
size computation is complete for ordinary disks

Revision 3609 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 11:11:55 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3560 byte(s)
Diff to previous 3605
bugfixes

Revision 3605 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 10:40:41 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3475 byte(s)
Diff to previous 3603
parser nearly complete

Revision 3603 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 09:27:43 2006 UTC (6 years, 9 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3367 byte(s)
Diff to previous 3601
backup

Revision 3601 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:42:21 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3223 byte(s)
Diff to previous 3600
fixed typos

Revision 3600 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:40:21 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3218 byte(s)
Diff to previous 3599
bugfix of parser

Revision 3599 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:39:12 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 3193 byte(s)
Diff to previous 3597


Revision 3597 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:27:06 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 2595 byte(s)
Diff to previous 3596
minor fixes

Revision 3596 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:25:26 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 2284 byte(s)
Diff to previous 3595


Revision 3595 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:11:31 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1927 byte(s)
Diff to previous 3594
added filesystem-info

Revision 3594 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:08:24 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1865 byte(s)
Diff to previous 3593
added current_config

Revision 3593 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:04:04 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1716 byte(s)
Diff to previous 3592


Revision 3592 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:02:51 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1705 byte(s)
Diff to previous 3591
bugfixes

Revision 3591 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 00:01:09 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1650 byte(s)
Diff to previous 3590


Revision 3590 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 23:55:29 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1369 byte(s)
Diff to previous 3588
added loop

Revision 3588 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 23:52:22 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 1174 byte(s)
Diff to previous 3586


Revision 3586 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 23:40:08 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 933 byte(s)
Diff to previous 3583
parted parsing

Revision 3583 - (view) (download) (annotate) - [select for diffs]
Added Fri Jul 21 22:06:18 2006 UTC (6 years, 10 months ago) by michael-guest
Original Path: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
File length: 95 byte(s)
initial script locations, bug fixes

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5