Dave's Brain

Browse - Computer Tips - How I can show the devices that are removable media on my Linux box.

Date: 2013sep25
OS: Linux

Q.  How I can show the devices that are removable media on my Linux box.
(eg thumb drives, etc)

A.  This nearly always works:

	df -T | grep -w vfat

This lists all mounted deices that are type "vfat".
There is no guarantee that they will this type but they probably will be.
This format works on Windows, Linux, cameras, etc.

More info
http://en.wikipedia.org/wiki/File_Allocation_Table#VFAT

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.