Re: Inhibit auto-attach of scsi disks ?

Scott Merritt
2002-10-02T02:45:24Z

On Tue, 1 Oct 2002 21:58:38 -0400
Doug Ledford <dledford@redhat.com> wrote:

> You are confusing auto attachment with auto mounting. When you do the low
> level things you suggest, the disk should not be *mounted* but it *must*
> be attached (or else there won't be a scsi device for you to open and tell
> to format itself for instance).

Yes, I would certainly agree that the scsi disk must first be "attached". However, I'm not entirely clear on the need to *always* read/parse the partition table as an integral part of "attaching" the scsi disk.

Assuming that I understand you correctly, I think this is simply a slightly different "artistic" view. Under the assumption that an "early" read of the partition table does no "damage", there is clearly no compelling reason to change. About the best argument I could come up with is some type of hypothetical disk device that would appreciate a firmware/parameter download from the "main" filesystem before being forced to perform it's first data operation. An admittedly tenuous example ... :)

Best regards, Scott.