diff --git a/fdisk/CHANGELOG b/fdisk/CHANGELOG index b8d7fabb4..9d310d1d6 100644 --- a/fdisk/CHANGELOG +++ b/fdisk/CHANGELOG @@ -14,3 +14,5 @@ Added support for systems with more than 26 IDE or SCSI drives. ---- Changes since 1.300 ---- Added support for formatting FATX filesystems. Added a display of each partitions UUID, and added code to support their detection. +---- Changes since 1.360 ---- +Link to SMART module for SCSI disks too, and IDE params page for SATA disks pretending to the SCSI. diff --git a/fdisk/index.cgi b/fdisk/index.cgi index dd90f0dc6..3ad6a6ba1 100755 --- a/fdisk/index.cgi +++ b/fdisk/index.cgi @@ -44,12 +44,13 @@ foreach $d (&list_disks_partitions()) { # Show links to other modules @links = ( ); - if ($d->{'type'} eq 'ide' && $ed) { + if (($d->{'type'} eq 'ide' || + $d->{'type'} eq 'scsi' && $d->{'model'} =~ /ATA/) && $ed) { # Display link to IDE params form push(@links, "$text{'index_hdparm'}"); } - if ($smart && $d->{'type'} eq 'ide') { + if ($smart) { # Display link to smart module push(@links, "$text{'index_smart'}");