<feed xmlns='http://www.w3.org/2005/Atom'>
<title>smartmontools.git/src/smartd.cpp, branch master</title>
<subtitle>smartmontools disk health monitoring</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/atom/src/smartd.cpp?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/atom/src/smartd.cpp?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/'/>
<updated>2026-11-20T14:05:32Z</updated>
<entry>
<title>SCSI: avoid READ CAPACITY(16) for CD/DVD devices</title>
<updated>2026-11-20T14:05:32Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-11-20T14:05:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=d788ad8c38ee301f43185cd986b091d79383a11a'/>
<id>urn:sha1:d788ad8c38ee301f43185cd986b091d79383a11a</id>
<content type='text'>
Rework 'scsiGetSize()'.  Fix the check for the supported variant of
READ CAPACITY.  Add 'scsi_device::get/set_rcap_mode()' to preserve
the selected variant.  Preselect READ CAPACITY(10) in 'scsiStdInquiry()'
if a CD/DVD peripheral device type is detected.

Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>Library: remove 'raw_buffer' and use 'std::vector&lt;uint8_t&gt;' instead</title>
<updated>2026-11-15T16:08:33Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-11-15T16:08:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=a3aee76ed7f342efebd5f01631be1d79f7fdb780'/>
<id>urn:sha1:a3aee76ed7f342efebd5f01631be1d79f7fdb780</id>
<content type='text'>
Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>Library: remove '*_device_auto_ptr' and use 'std::unique_ptr&lt;&gt;' instead</title>
<updated>2026-11-15T15:15:59Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-11-15T15:15:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=bb301b3600efba35a374ba0392e673c6d5c6c30a'/>
<id>urn:sha1:bb301b3600efba35a374ba0392e673c6d5c6c30a</id>
<content type='text'>
Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>smartd: add systemd(1) 'Type=notify-reload' support (#653)</title>
<updated>2026-10-01T13:48:23Z</updated>
<author>
<name>Eric W.</name>
<email>robo-eric@gmx.de</email>
</author>
<published>2026-10-01T13:48:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=d7b278d4ad681fe8c63b73ab56f8fd196ae6a394'/>
<id>urn:sha1:d7b278d4ad681fe8c63b73ab56f8fd196ae6a394</id>
<content type='text'>
This just extends the existing notification infrastructure
to send `RELOADING=1` and `MONOTONIC_USEC=&lt;time&gt;` in addition
to the existing status message when reloading the configuration.

The service file remains unchanged unless `--with-libsystemd=reload`
is passed, since `Type=notify-reload` requires systemd version 253
or later.</content>
</entry>
<entry>
<title>scsi: smartd: increase size of VPD buffer</title>
<updated>2026-09-21T15:53:56Z</updated>
<author>
<name>Douglas Gilbert</name>
<email>dgilbert@interlog.com</email>
</author>
<published>2026-09-21T15:53:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=896b967bd82f63b19cd21538c29033c72600b88f'/>
<id>urn:sha1:896b967bd82f63b19cd21538c29033c72600b88f</id>
<content type='text'>
This patch is in response to:
https://github.com/smartmontools/smartmontools/security/advisories/GHSA-94qp-hqvj-64h9

VPD pages in SCSI have a single byte length field in their 4th byte (vpd[3])
That byte is the length of the VPD page _beyond_ that point. So an attacker
could set that byte to 0xff which implies a VPD page length of 259 bytes.
This patch expands the receiving buffer to 264 bytes long, so it is relatively
crude. If it is not sufficient, it will be revisited.
</content>
</entry>
<entry>
<title>Library: ATA: add all fields to 'ata_identify_device' data structure</title>
<updated>2026-09-03T15:54:21Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-09-03T15:54:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=928da926d5aa85933e2fae070fd4b3936a0f3ecf'/>
<id>urn:sha1:928da926d5aa85933e2fae070fd4b3936a0f3ecf</id>
<content type='text'>
Replace the 'wordNNN*' arrays.  Remove the no longer needed template
functions 'ata_get_id_word()' and 'ata_set_id_word()'

Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>Library: ATA: change 'id' parameter of 'ata_get_size_info()' to reference</title>
<updated>2026-09-03T14:24:13Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-09-03T14:24:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=8392480d86adf59f852e0ac99fe778a08aff51aa'/>
<id>urn:sha1:8392480d86adf59f852e0ac99fe778a08aff51aa</id>
<content type='text'>
Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>Library: ATA: unify API functions</title>
<updated>2026-09-01T11:33:27Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-09-01T11:33:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=79194827d4a97221a106cb6751c9881d7780b72b'/>
<id>urn:sha1:79194827d4a97221a106cb6751c9881d7780b72b</id>
<content type='text'>
Use snake_case instead of camelCase for function names.
Use '&lt;stdint.h&gt;' types for protocol specific parameters.
Use references instead of pointers for fixed size data structures.
Return 'true/false' instead of '0/-1' to indicate success/error.
Merge 'enable/disable' functions and add 'bool' parameter instead.

Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>ATA: rework debug output</title>
<updated>2026-08-30T18:07:49Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-08-30T18:07:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=54690f22ec8538140ed0218b72f77faa2d751d19'/>
<id>urn:sha1:54690f22ec8538140ed0218b72f77faa2d751d19</id>
<content type='text'>
Add non-member function 'ata_pass_through()' which calls the related
member function of 'ata_device' and prints debug output if enabled.
Remove function 'smartcommandhandler()' and use 'ata_pass_through()'
instead.  Add constructors to 'ata_cmd_in' which directly set the ATA
registers 'command' and 'features'.  Move 'SMART_*_LBA_*' constants
to 'ata.h'.

Closes: trac ticket 55.

Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
<entry>
<title>Library: rework byte swapping of 'ata_identify_device' string fields</title>
<updated>2026-08-02T13:01:39Z</updated>
<author>
<name>Christian Franke</name>
<email>christian.franke@t-online.de</email>
</author>
<published>2026-08-02T13:01:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/smartmontools.git/commit/?id=731c85d8cc9c43fb1b52c74a5a528c6a00e57ec7'/>
<id>urn:sha1:731c85d8cc9c43fb1b52c74a5a528c6a00e57ec7</id>
<content type='text'>
Return already byte swapped identify strings from 'ata_read_identity()'.
Remove no longer needed function 'ata_format_id_string()'.  Use
'format_char_array()' instead.  Enhance the templates of this function
to allow usage of any char pointer type without casts.

Signed-off-by: Christian Franke &lt;christian.franke@t-online.de&gt;
</content>
</entry>
</feed>
