2014-04-24 19:11 GMT-04:00 <akr / fsij.org>: > Issue #9772 has been updated by Akira Tanaka. > > > こういうときは先人の知恵ということで探してみると coreutils の src/stat.h になにかそれっぽいコメントがありました。 > > ``` > 212 /* Return the type of the specified file system. > 213 Some systems have statfvs.f_basetype[FSTYPSZ] (AIX, HP-UX, and Solaris). > 214 Others have statvfs.f_fstypename[_VFS_NAMELEN] (NetBSD 3.0). > 215 Others have statfs.f_fstypename[MFSNAMELEN] (NetBSD 1.5.2). > 216 Still others have neither and have to get by with f_type (GNU/Linux). > 217 But f_type may only exist in statfs (Cygwin). */ > ``` > > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/stat.c;h=7d43eb55510372e18cc1129db269586710d28229;hb=HEAD#l212 > > 仮に proprietary なのは気にしないとしても、NetBSD はどうなのかなぁ。 ああ、statvfsにメンバ追加のほうが世の中で主流なのですね。じゃあ、わたしの主張は取り下げます