Re: [PATCH v2] ata: ahci: find eSATA ports and flag them as removable

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

 



On Wed, Sep 30, 2015 at 09:10:25PM +0200, Manuel Lauss wrote:
> If the AHCI ports' HPCP or ESP bits are set, the port
> should be considered external (e.g. eSATA) and is marked
> as removable.  Userspace tools like udisks then treat it
> like an usb drive.
> 
> With this patch applied, when I plug a drive into the esata port,
> KDE pops up a window asking what to do with the drives(s), just
> like it does for any random USB stick.
> 
> Removability is indicated to the upper layers by way of the
> SCSI RMB bit, as I haven't found another way to signal
> userspace to treat a sata disk like any usb stick.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@xxxxxxxxx>

Applied to libata/for-4.4.  Let's see what happens.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux