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

Re: Something never understood: see USB storage in CLI & mc



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, May 18, 2016 at 10:30:34AM +0100, Ron Leach wrote:
> List, good morning,
> 
> One aspect of Debian I've never managed to 'get', is how to 'see'
> any temporarily plugged-in USB storage device [...]

I do a 'dmesg | tail' shortly after having inserted the stick. Then
I can see the noise the kernel is making after "seeing" it.

If you want to tweak what happens after inserting an USB, you might
want to tweak the udev rules (for example, I had a backup script
fire up automatically at a customer's when a disk with the right label
or UUID was inserted).

Felix's approach is, of course, much more elegant to see what is
there, since it doesn't rely on dmesg not having flown by...

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlc8OosACgkQBcgs9XrR2kYAfQCfTkJQrMsCk0gLxi4p92Aa999N
fnQAnRXw/loEJnjuFHHu0kZv0M5Kfi7X
=4XAM
-----END PGP SIGNATURE-----


Reply to: