FreeBSD Bugzilla – Attachment 96579 Details for
Bug 135213
sysutils/smartmontools: fix for AUTOdetect mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.20 KB, created by
Dmitry Morozovsky
on 2009-06-03 15:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2009-06-03 15:10:01 UTC
Size:
1.20 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/sysutils/smartmontools/Makefile,v >retrieving revision 1.39 >diff -u -r1.39 Makefile >--- Makefile 29 May 2009 12:13:26 -0000 1.39 >+++ Makefile 3 Jun 2009 14:04:38 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= smartmontools > PORTVERSION= 5.38 >-PORTREVISION= 5 >+PORTREVISION= 6 > CATEGORIES= sysutils > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >Index: files/smart.in >=================================================================== >RCS file: /home/ncvs/ports/sysutils/smartmontools/files/smart.in,v >retrieving revision 1.4 >diff -u -r1.4 smart.in >--- files/smart.in 29 May 2009 12:13:26 -0000 1.4 >+++ files/smart.in 3 Jun 2009 14:04:38 -0000 >@@ -16,7 +16,7 @@ > case "${daily_status_smart_devices}" in > # XXX AUTO mode selects only regular ad/da disks > [Aa][Uu][Tt][Oo]) >- daily_status_smart_devices=`ls /dev/da*[0-9] /dev/ad*[0-9] 2>/dev/null` >+ daily_status_smart_devices=`sysctl -n kern.disks` > ;; > *) ;; > esac >@@ -35,6 +35,7 @@ > rc=0 > case "${daily_status_smart_enable}" in > [Yy][Ee][Ss]) >+ cd /dev > for device in ${daily_status_smart_devices}; do > if [ -e ${device} ]; then > echo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 135213
: 96579