Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, When user inserts USB, entry will be present in /proc/mounts. And when user forcefully remove USB without unmount. Still entry is present in /proc/mounts. So, is there any ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    21

    USB mount status

    Hi All,

    When user inserts USB, entry will be present in /proc/mounts. And when user forcefully remove USB without unmount. Still entry is present in /proc/mounts. So, is there any where where I can check for USB is mounted or not.

    Thanks in advance

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    The command mount without any options lists the currently mounted devices although I don't know if or how quickly it updates when a device is removed without an unmount first
    Linux User #453176

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...