[lkml]   [2003]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [2.6.0-test4] blocking access to mounted scsi devices

On 26 Aug 2003, James Bottomley wrote:
> On Tue, 2003-08-26 at 05:20, Douglas Gilbert wrote:
> > Christoph Hellwig wrote:
> > > That's because both mount (or e.g. volume managers) claims
> > > devices for exclusive use, as does drivers/block/scsi_ioctl.c
> >
> > Well it is reasonable that mount should exclude other attempts
> > to mount. However the device holding the root file system
> > may be an ATA or SCSI disk and the ide-disk and sd drivers
> > do not support SMART probing directly.
> Hang on, that's not the way it's supposed to work.
> Mount should be on partition devices (like /dev/sda1) whereas the tools
> should be on whole disc devices (like /dev/sda). I thought we'd agreed
> that even opening a partition exclusively wouldn't affect the ability to
> open the whole disc device (but opening the whole disc device
> exclusively would block access to all partitions).

This sounds exactly right -- tools like smartmontools address the whole
device, not a partition.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.053 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site