Re: [gpfsug-discuss] struct dirent d_type for fifos on gpfs
He's already handled this. Lyle - Original message -From: IBM Spectrum Scale/Poughkeepsie/IBMSent by: gpfsug-discuss-boun...@spectrumscale.orgTo: Steve Xiao/Fishkill/IBM@IBMCc: gpfsug-discuss-boun...@spectrumscale.org, "gpfsug main discussion list" , Ted Anderson/Almaden/IBM@IBMMailSubject: [EXTERNAL] Re: [gpfsug-discuss] struct dirent d_type for fifos on gpfsDate: Fri, Jan 14, 2022 2:12 AM Hi Steve, Can you please look into the below query from Hannappel. Regards, The Spectrum Scale (GPFS) team -- If you feel that yourZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd 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 https://www.ibm.com/developerworks/community/forums/html/forum?id=----0479.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."Hannappel, Juergen" ---13-01-2022 11.46.55 PM---Hi, I noticed that whe I read directory entries with the usual readdir() function thatFrom: "Hannappel, Juergen" To: "gpfsug main discussion list" Date: 13-01-2022 11.46 PMSubject: [EXTERNAL] [gpfsug-discuss] struct dirent d_type for fifos on gpfsSent by: gpfsug-discuss-boun...@spectrumscale.org Hi,I noticed that whe I read directory entries with the usual readdir() function thatfor fifos I get in the d_type files a 0, i.e. DT_UNKNOWN while if I try that on adifferent 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 listgpfsug-discuss at spectrumscale.orghttp://gpfsug.org/mailman/listinfo/gpfsug-discuss ___gpfsug-discuss mailing listgpfsug-discuss at spectrumscale.orghttp://gpfsug.org/mailman/listinfo/gpfsug-discuss ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Re: [gpfsug-discuss] struct dirent d_type for fifos on gpfs
This is expected. GPFS readdir only support d_type: DT_REG, DT_DIR and DT_LNK. All other type will be returned as DT_UNKNOWN. 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 https://www.ibm.com/developerworks/community/forums/html/forum?id=----0479 . 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. ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Re: [gpfsug-discuss] struct dirent d_type for fifos on gpfs
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 https://www.ibm.com/developerworks/community/forums/html/forum?id=----0479. 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" To: "gpfsug main discussion list" Date: 13-01-2022 11.46 PM Subject: [EXTERNAL] [gpfsug-discuss] struct dirent d_type for fifos on gpfs Sent by:gpfsug-discuss-boun...@spectrumscale.org Hi, 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/ITTel. : +49 40 8998-4616 ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
[gpfsug-discuss] struct dirent d_type for fifos on gpfs
Hi, 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/ITTel. : +49 40 8998-4616 ___ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss