Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Code Log


Commit Date  
[855684] by Gert Hulselmans Gert Hulselmans

CHANGELOG: Describe changes made since v0.60.

Describe changes made since v0.60.

2012-04-01 21:01:09 Tree
[cea562] by Gert Hulselmans Gert Hulselmans

Use mktemp to create a (semi)-random temporary dir, instead of the current "add number" hackery.

Use mktemp to create a (semi)-random temporary dir, instead of the current
not-random temporary dirname creation. mktemp only sets rwx permissions
for the user and not permission for the group or others.

2012-02-23 00:19:32 Tree
[607cfe] by Gert Hulselmans Gert Hulselmans

Update copyright date and reformat/update developer section.

Update copyright date and reformat/update developer section.

2012-02-22 23:35:26 Tree
[b1dc90] by Gert Hulselmans Gert Hulselmans

Fix crash of BIS when there is no embedded menu in grub4dos/wee.

Fix crash of BIS when there is no embedded menu in grub4dos/wee.
When no offset is found for the embedded menu, the ${offset_menu} variable
is empty. The check to see if the variable was empty was missing quotes,
which made the check always return true even if the variable was empty.

This patch fixes the folowing error message:
( / 2 ) + 16 : syntax error: operand expected (error token is "/ 2 ) + 16 ")

2012-02-22 22:25:00 Tree
[8b25fb] by Gert Hulselmans Gert Hulselmans

Add filesystem info for each Windows volume boot record magic.

Add filesystem info for each Windows volume boot record magic.

2012-01-02 14:43:26 Tree
[2e399f] by Gert Hulselmans Gert Hulselmans

Add Windows 7 volume boot sector magic for FAT32 partitions.

Add Windows 7 volume boot sector magic for FAT32 partitions.

2012-01-02 14:33:24 Tree
[1f385c] by Gert Hulselmans Gert Hulselmans

Use xz or lzma to decompress the lzma core_dir string of Grub2 (v1.99).

Use xz or lzma to decompress the lzma core_dir string of Grub2 (v1.99).
Not all distros have (un)lzma installed or available in the repos.
xz can decompress lzma streams and will probably replace lzma in
future distros, so check for availability of xz first.

2011-12-28 20:25:06 Tree
[f4baf9] by Gert Hulselmans Gert Hulselmans

Send informative error messages to stderr instead of to Error_Log file directly.

Send informative error messages to stderr instead of to Error_Log file directly.

Appending messages to the Error_Log file doesn't work on at least Fedora,
when stderr is redirected to a file with:

exec 2> ${Error_Log};

So it is better to write the messages to stderr instead of appending them to
the Error_Log file directly.

2011-12-26 21:43:52 Tree
[a63e66] by Gert Hulselmans Gert Hulselmans

README: Update "Usage" section.

Update the "Usage" section of the README, so it shows the same than the "--help"
switch of Boot Info Script.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-07-04 22:18:38 Tree
[940a77] by Gert Hulselmans Gert Hulselmans

Display the commands needed to run Boot Info Script with root rights, when it wasn't run with root rights.

Display the commands needed to run Boot Info Script with root rights,
when it wasn't run with root rights.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-07-04 22:12:55 Tree
[56ee0c] by Gert Hulselmans Gert Hulselmans

Check for root rights before checking that all programs are available.

Check for root rights before checking that all programs are available.

This avoids invalid complaints of missing programs when Boot Info Script
is run without sudo rights on distros where /sbin and /usr/sbin are not
in the $PATH variable of the normal user.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-07-04 21:50:56 Tree
[f850d3] by Gert Hulselmans Gert Hulselmans

Add ChromeOS GPT GUIDs.

Add ChromeOS GPT GUIDs:
- ChromeOS kernel: FE3A2A5D-4F32-41A7-B725-ACCC3285A309
- ChromeOS rootfs: 3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC
- ChromeOS future use: 2E0A753D-9E48-43B0-8337-B15192CB1B5E

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-29 00:34:20 Tree
[c3b04a] by Gert Hulselmans Gert Hulselmans

Add new GPT GUID for Linux filesystems (Basic Data partition).

Add new GPT GUID for Linux filesystems (Basic Data partition).

The new GPT GUID is 0FC63DAF-8483-4772-8E79-3D69D8477DE4.
The old GPT GUID was the same as the Basic Data partition for Windows:
EBD0A0A2-B9E5-4433-87C0-68B6B72699C7.

The new GPT GUID was created to avoid that Linux partitions show
up as unformatted partitions in Windows.

http://lists.gnu.org/archive/html/bug-parted/2011-06/msg00044.html

Reported-by: Rod Smith
Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-29 00:21:20 Tree
[3ba403] by Gert Hulselmans Gert Hulselmans

grub2_info: Correct the offset to the lzma stream, when 8 subsequent bytes of zeros are at the start of this offset.

Correct the offset to the lzma stream in the grub2_info function,
when 8 subsequent bytes of zeros are at the start of this offset.

2011-06-27 15:30:14 Tree
[73cbd8] by Gert Hulselmans Gert Hulselmans

List EFI boot files.

List EFI boot files.
EFI boot files are located at /efi/*/*.efi on FAT filesystems.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-27 13:20:21 Tree
[54af2c] by Gert Hulselmans Gert Hulselmans

Cosmetic: Remove spurious space in a comment.

Cosmetic: Remove spurious space in a comment.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-27 12:50:31 Tree
[949485] by Gert Hulselmans Gert Hulselmans

Use the shortest pathname for the partition mountpoint, when multiple mount points for the same partition are found.

Use the shortest pathname for the partition mountpoint, when multiple mount
points for the same partition are found in the Get_Partition_Info function.

In at least Fedora 15, the root partition is mounted on:
- /
- /tmp (bind)
- /var/tmp (bind)

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-27 12:48:08 Tree
[8c42ad] by Gert Hulselmans Gert Hulselmans

Handle mount points with spaces in a similar way like in the mount output code and sort the mount points uniquely.

Handle mount points with spaces in a similar way like in the mount output code
and sort the mount point uniquely.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-27 12:27:35 Tree
[272f54] by Gert Hulselmans Gert Hulselmans

Add workaround for "busybox awk" in the syslinux_info function, while checking the integrity of Syslinux.

Add a workaround for "busybox awk" in the syslinux_info function, while
checking the integrity of Syslinux.

"busybox awk" returns values like: 3.20611e+09
instead of a normal integer number.

If the ${csum} variable contains an 'e', don't compare the value of ${csum}
with 0.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-26 23:29:49 Tree
[0caca0] by Gert Hulselmans Gert Hulselmans

Rename "boot_info_script.sh" to "bootinfoscript".

Rename "boot_info_script.sh" to "bootinfoscript".
Boot Info Script requires bash (more features than POSIX specifies),
so the "sh" extension can cause confusion that every shell can be used.
Removing the underscores makes it easier to use TAB completion when
Boot Info Script is located in one of the $PATH directories.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-25 00:09:50 Tree
[509312] by Gert Hulselmans Gert Hulselmans

Change "bash ./boot_info_script.sh" to "./boot_info_script.sh" in the help function and comments.

Change "bash ./boot_info_script.sh" to "./boot_info_script.sh" in the help
function and comments. The shebang takes care of running the script with bash.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-24 23:40:45 Tree
[57ece7] by Gert Hulselmans Gert Hulselmans

Add --stdout switch to write the output to the standard output instead of to a file.

Write the output to the standard output instead of to a file, when the
--stdout switch is specified.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-06-24 23:32:08 Tree
[0b0fd5] by Gert Hulselmans Gert Hulselmans

Check if Boot Info Script is run with bash as shell interpreter.

Check if Boot Info Script is run with bash as shell interpreter
and end the script when this is not the case.
dash and ash don't support all syntax used in the script.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-05-27 11:36:03 Tree
[ebea4e] by Gert Hulselmans Gert Hulselmans

Use HEREDOC instead of a lot of echos in the help function.

Use HEREDOC instead of a lot of echos in the help function.
This makes the help output code a bit cleaner.
The minus sign in "cat <<- HELP" will ignore leading TABs on the
following lines, so the code is still indented.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-05-23 22:44:01 Tree
[92980a] by Gert Hulselmans Gert Hulselmans

cosmetic: Display the dashed line after the grub2 embedded config content on a new line.

Display the dashed line after the grub2 embedded config content on a new line.
The embedded config doesn't have a newline at the end, by default.

Signed-off-by: Gert Hulselmans <ghulselmans@users.sourceforge.net>

2011-05-22 14:05:55 Tree
Older >