How do I detect that a jump drive is mounted?

Andrew Farris flyindragon1 at aol.com
Sat Aug 29 02:53:03 UTC 2009


On Fri, 2009-08-28 at 15:18 -0700, Knute Johnson wrote:
> I've got a jump drive that I use to back up some files at night.  Is 
> there a simple way in a script that I can check to see that the drive is 
> mounted?

you could check for an existent/populated folder in /media... or you
gould give it it's own dedicated mount point, and check there.

hope it helps


-- 
Andrew
_____________________________
Registered Linux User: 473690
Registered Ubuntu User: 22747





More information about the ubuntu-users mailing list