Specifying a device for only a single drive for periodic report

Kevin Oberman rkoberman at gmail.com
Mon May 14 17:36:40 UTC 2018

I have a small server that has teo disk drives. One is the internal PATA
(AHCI) drive. The other is a USB drive. I would like to enable S.M.A.R.T.
checking on both, but the USB device (-d) needs to be included in the
command (i.e. "-d sat").

I have not been able to figure out how to set up periodic(8) to work with a
device option for one drive but not the other.

Is this possible without a kludge of some sort or mods to the
periodic/smart script?
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

More information about the freebsd-questions mailing list