On Tue, Feb 26, 2008 at 12:21 AM, Vaughn Clinton <vclinton@xxxxxxx> wrote: > > I believe that command line parameter is used to define how many luns total > that can be probe. It does not define the size. > > > Cheers, > > > Date: Tue, 26 Feb 2008 00:06:39 +0800 > > From: htmldeveloper@xxxxxxxxx > > To: mohdshuab.siddique@xxxxxxxxx > > Subject: Re: LUN Size > > CC: kernelnewbies@xxxxxxxxxxxx > > > > > > On Wed, Feb 20, 2008 at 5:07 PM, shuab <mohdshuab.siddique@xxxxxxxxx> > wrote: > > > > > > Can any one tell me what function/MACRO is used to restrict Max size of > a > > > lun (in redhat and suse). > > > > > > > > In Doc/kernel-param, there is a line "max_luns=" which u can supply. > > Is that the one u are looking for? > > How about this one: ./drivers/scsi/scsi_scan.c: length = (max_scsi_report_luns + 1) * sizeof(struct scsi_lun); And btw what devices are we talking about? SCSI? Or for firewire: ./firewire/fw-sbp2.c: memset(&eight_bytes_lun, 0, sizeof(eight_bytes_lun)); The size seemed different - is my analysis correct? -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ