Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2020 13:22:50 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533779 - in head/sysutils/smartmontools: . files
Message-ID:  <202005031322.043DMoVT089717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers (src committer)
Date: Sun May  3 13:22:50 2020
New Revision: 533779
URL: https://svnweb.freebsd.org/changeset/ports/533779

Log:
  sysutils/smartmontools: skip virtio disk devices during periodic scan
  
  PR:		245935
  Reviewed by:	samm
  Approved by:	samm (maintainer)
  Sponsored by:	Axcient
  Differential Revision:	https://reviews.freebsd.org/D24191

Modified:
  head/sysutils/smartmontools/Makefile
  head/sysutils/smartmontools/files/smart.in

Modified: head/sysutils/smartmontools/Makefile
==============================================================================
--- head/sysutils/smartmontools/Makefile	Sun May  3 13:20:06 2020	(r533778)
+++ head/sysutils/smartmontools/Makefile	Sun May  3 13:22:50 2020	(r533779)
@@ -3,6 +3,7 @@
 
 PORTNAME=	smartmontools
 PORTVERSION=	7.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 

Modified: head/sysutils/smartmontools/files/smart.in
==============================================================================
--- head/sysutils/smartmontools/files/smart.in	Sun May  3 13:20:06 2020	(r533778)
+++ head/sysutils/smartmontools/files/smart.in	Sun May  3 13:22:50 2020	(r533779)
@@ -16,7 +16,7 @@ smartctl=%%PREFIX%%/sbin/smartctl
 case "${daily_status_smart_devices}" in
 	# XXX AUTO mode selects only regular ad/da disks 
 	[Aa][Uu][Tt][Oo])
-		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g; s/nvd/nvme/g')"
+		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar|vtbd)[0-9]+//g; s/nvd/nvme/g')"
 		;;
 	*)	;;
 esac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005031322.043DMoVT089717>