Identify a partition from script

by Nando Lawson   Last Updated April 05, 2018 13:12 PM

I have a bash script that needs to find out itself from which partition / disk it is running from. Unfortunately, I don't know how to do that or if there is a piece of software that can help me with this. It would be really great if someone here could help me with this!

Tags : bash script

Related Questions

Conditional lsof loop in bash script

Updated August 05, 2015 16:05 PM

Delete own user from Mac OS

Updated December 11, 2017 14:12 PM

Make a bash script unreadable / uneditable

Updated April 07, 2018 16:12 PM

Is it possible to create exs24 files with a script?

Updated November 28, 2018 00:12 AM