SMBFS authentication credentials can be stored in a separate file, thanks to a patch by Rob Shinn.
---- Changes since 1.440 ----
Improved support for filesystems on partitions identified by volume ID when the vol_id command is missing.
+Show the used disk space for each filesystem on the main page.
print &ui_columns_start([ $text{'index_dir'},
$text{'index_type'},
$text{'index_dev'},
+ $text{'index_used'},
$text{'index_use'},
$text{'index_perm'} ], 100);
foreach $m (@visible) {
$fsn .= " ($minfo[2])" if (uc($fsn) ne uc($minfo[2]));
push(@cols, $minfo[2] eq "*" ? $text{'index_auto'} : $fsn);
push(@cols, &device_name($minfo[1]));
+ ($total, $free) = &disk_space($minfo[2],$minfo[0]);
+ if ($total) {
+ $pc = int(100*($total-$free) / $total);
+ push(@cols, $pc >= 99 ? "<font color=red>$pc %</font>" :
+ $pc >= 95 ? "<font color=orange>$pc %</font>" : $pc."%");
+ }
+ else {
+ push(@cols, "");
+ }
if (&can_edit_fs(@minfo)) {
push(@cols,
defined($medidx) ?