[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CONFIG_SCSI_PROC_FS



On Thu, 2010-10-07 at 11:16 +1300, Sam Vilain wrote:
> I know this option is labelled as "legacy", but it is still required
> for, eg, scsitools' rescan-scsi-bus.sh script - as far as I know there
> is no other way to force Linux to notice that a device has been plugged
> or a RAID controller configured to make a device accessible.

There is - write to /sys/bus/scsi/devices/host<n>/scsi_host/host<n>/scan
(substituting the SCSI host number for <n>).  If the 'squeeze' version
of scsitools still makes use of /proc/scsi, please report this as a bug
in that package.

> Can it be enabled in future Debian kernels?

It will not be enabled.

> I'm unfortunately getting to the point where I need to build custom
> kernels; however the old systems I've built are based on kernel-package
> which seems to be deprecated.  Is there a simple piece of documentation
> I can be pointed at for the best way to build customised kernels based
> on Debian's ones?

http://kernel-handbook.alioth.debian.org/

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: