Re: how to query filesystem type?

2011-07-05 Thread Jim Edwards
On Tue, Jul 5, 2011 at 10:11 AM, Rob Latham wrote: > On Tue, Jul 05, 2011 at 09:41:37AM -0600, Jim Edwards wrote: > > I would like to have autoconf determine if a target filesystem is gpfs or > > lustre - are there existing tools to do this? > > > > If not is anyone aware of a shell command that

how to query filesystem type?

2011-07-05 Thread Jim Edwards
I would like to have autoconf determine if a target filesystem is gpfs or lustre - are there existing tools to do this? If not is anyone aware of a shell command that would provide this? ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/ma

Re: how to query filesystem type?

2011-07-05 Thread Eric Blake
[adding coreutils] On 07/05/2011 10:28 AM, Jim Edwards wrote: >> the 'stat -f /path/to/file_system' command can give you the >> information you want: >> >> % stat -c %T -f / >> ext2/ext3 >> >> > Running this on /tmp/work/$USER on jaguarpf gives > > UNKNOWN (0xbd00bd0) Which version of coreutils?

Re: how to query filesystem type?

2011-07-05 Thread Jim Meyering
Eric Blake wrote: > [adding coreutils] > > On 07/05/2011 10:28 AM, Jim Edwards wrote: >>> the 'stat -f /path/to/file_system' command can give you the >>> information you want: >>> >>> % stat -c %T -f / >>> ext2/ext3 >>> >>> >> Running this on /tmp/work/$USER on jaguarpf gives >> >> UNKNOWN (0xbd00b

Re: how to query filesystem type?

2011-07-05 Thread Rob Latham
On Tue, Jul 05, 2011 at 09:41:37AM -0600, Jim Edwards wrote: > I would like to have autoconf determine if a target filesystem is gpfs or > lustre - are there existing tools to do this? > > If not is anyone aware of a shell command that would provide this? i'd just like to point out that in genera