coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stat: add --list-fstypes option for listing known file syste


From: Pádraig Brady
Subject: Re: [PATCH] stat: add --list-fstypes option for listing known file system types
Date: Wed, 07 Aug 2013 22:34:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 08/07/2013 09:17 PM, Bernhard Voelker wrote:
> Hi *,
> 
> WDYT about a new option for stat(1) to list all known file system types?
> 
> The output looks like the following:
> 
>   $ src/stat --list-fstypes | head -n4
>   FsType                  Magic           Treated by tail(1): local/remote?
>   ADFS                    0xADF5          local
>   AFFS                    0xADFF          local
>   AFS                     0x5346414F      remote
>   ...
> 
> 
> I didn't include a test yet but would add one
> if someone thinks it would be worthwhile.

I'm not sure how generally useful that is?
Also the tail(1) thing is currently an implementation detail
best not exposed I think.

cheers,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]