Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

From: Bart Van Assche
Date: Mon Jun 17 2019 - 17:16:08 EST


On 6/12/19 6:59 AM, Marc Gonzalez wrote:
According to the option's help message, SCSI_PROC_FS has been
superseded for ~15 years. Don't select it by default anymore.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@xxxxxxx>
---
drivers/scsi/Kconfig | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 73bce9b6d037..8c95e9ad6470 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -54,14 +54,11 @@ config SCSI_NETLINK
config SCSI_PROC_FS
bool "legacy /proc/scsi/ support"
depends on SCSI && PROC_FS
- default y
---help---
This option enables support for the various files in
/proc/scsi. In Linux 2.6 this has been superseded by
files in sysfs but many legacy applications rely on this.
- If unsure say Y.
-
comment "SCSI support type (disk, tape, CD-ROM)"
depends on SCSI

Hi Doug,

If I run grep "/proc/scsi" over the sg3_utils source code then grep reports 38 matches for that string. Does sg3_utils break with SCSI_PROC_FS=n?

Thanks,

Bart.