[gpfsug-discuss] struct dirent d_type for fifos on gpfs

IBM Spectrum Scale scale at us.ibm.com
Fri Jan 14 07:05:11 GMT 2022

Hi Steve,

Can you please look into the below query from Hannappel.

Regards, The Spectrum Scale (GPFS) team


If you feel that your question can benefit other users of  Spectrum Scale
(GPFS), then please post it to the public IBM developerWroks Forum at

If your query concerns a potential software error in Spectrum Scale (GPFS)
and you have an IBM software maintenance contract please contact
1-800-237-5511 in the United States or your local IBM Service Center in
other countries.

The forum is informally monitored as time permits and should not be used
for priority messages to the Spectrum Scale (GPFS) team.

From:	"Hannappel, Juergen" <juergen.hannappel at desy.de>
To:	"gpfsug main discussion list"
            <gpfsug-discuss at spectrumscale.org>
Date:	13-01-2022 11.46 PM
Subject:	[EXTERNAL] [gpfsug-discuss] struct dirent d_type for fifos on
Sent by:	gpfsug-discuss-bounces at spectrumscale.org

I noticed that whe I read directory entries with the usual readdir()
function that
for fifos I get in the d_type files a 0, i.e. DT_UNKNOWN while if I try
that on a
different file system e.g. ext4 I get the expected DT_FIFO.

Is this a bug or an expected feature?

Dr. Jürgen Hannappel  DESY/IT    Tel.  : +49 40 8998-4616
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220114/80eda6fe/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220114/80eda6fe/attachment-0002.gif>

More information about the gpfsug-discuss mailing list