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

Re: sata hotplug



Thanks

On Fri, Apr 15, 2011 at 9:58 PM, Jochen Schulz <ml@well-adjusted.de> wrote:
tux:
>
> I'm using squeeze, and I want to hutplug an sata device.
> Someone said to me that sata and scsi is the same in linux.

That's true to some extent, yes. Device naming is (and always was) the
same, for example.

> I searched the web, the way  of hot plug for scsi is echo an string to
> /proc/scsi/scsi.
> But there does not exist that file in my filesystem.
>
> So, now I wander who can I do hotplug for sata on squeeze, thanks.

Apart from umounting / synching you don't need to do anything special.
Just plug/unplug your devices. Device nodes are created automatically,
but you most probably need to address filesystems by UUID or by label,
because the usual device names will not be stable.

J.
--
I start many things but I have yet to finish a single one.
[Agree]   [Disagree]
                <http://www.slowlydownward.com/NODATA/data_enter2.html>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk2oTvIACgkQ+AfZydWK2zn2rgCfbmGrKM/Uj3EA8/8gm/W6Mo5Q
/PUAn1NEAg2TcnwRcucHO32sWCxo0THQ
=dQcM
-----END PGP SIGNATURE-----



Reply to: