[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAd53p6X5otqff+LCe94qoG+QiqEofNmGM1p4q-fGfTU186gMg@mail.gmail.com>
Date: Fri, 14 Jan 2022 10:38:16 +0800
From: Kai-Heng Feng <kai.heng.feng@...onical.com>
To: Keith Busch <kbusch@...nel.org>
Cc: Christoph Hellwig <hch@....de>, axboe@...com, sagi@...mberg.me,
Rajat Jain <rajatja@...gle.com>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvme: Mark external NVMe devices as removable
On Fri, Jan 14, 2022 at 12:12 AM Keith Busch <kbusch@...nel.org> wrote:
>
> On Thu, Jan 13, 2022 at 02:39:02PM +0800, Kai-Heng Feng wrote:
> > On Wed, Jan 12, 2022 at 10:03 PM Christoph Hellwig <hch@....de> wrote:
> > >
> > > On Wed, Jan 12, 2022 at 08:50:33PM +0800, Kai-Heng Feng wrote:
> > > > USB thumb drives also use this flag, so I am not sure why it's not
> > > > applicable to NVMe?
> > >
> > > They shouldn't report this flag and might need fixing.
> >
> > So what should we do? Introduce a different flag but with identical
> > usage for external USB and NVMe storages?
>
> What's the user visible result with this flag set? Does some rule
> automatically mount a 'removable' block device's filesystem partitions
> to something like /media/?
Udisks uses 'removable' to flag its 'HintAuto' attribute, and GNOME
Shell will automount the disk based on 'HintAuto'.
Kai-Heng
Powered by blists - more mailing lists