On Fri, 13 Apr 2012, Skylar Thompson wrote:
On 04/12/12 08:18, Michael C Tiernan wrote:
I am working on a small project and I have the need to identify the root volume
on a running linux system from inside a script. For the moment I'm in the Red
Hat EL environment but I'm expecting it to deve
On 04/13/12 06:20, Jonathan wrote:
> Hi,
>
> stat --format='%D' /
>
> will give you the major & minor device of the root file system, if
> that is what you need.
>
> Jonathan
Oops, indeed. I misread the original email and thought Michael was
looking for a way to programatically find the root files
Hi,
stat --format='%D' /
will give you the major & minor device of the root file system, if that
is what you need.
Jonathan
On 13/04/12 13:56, Skylar Thompson wrote:
On 04/12/12 08:18, Michael C Tiernan wrote:
I am working on a small project and I have the need to identify the root volum
On 04/12/12 08:18, Michael C Tiernan wrote:
> I am working on a small project and I have the need to identify the root
> volume on a running linux system from inside a script. For the moment I'm in
> the Red Hat EL environment but I'm expecting it to develop into a wider
> application.
>
> I can