0

Hi,

I'm trying to write some code that will validate if we are trying to write to nfs and if so, complain. From what I've read, the stat() call populates the st_dev with value of the file system type. On an nfs mount it tells me that it's '14'. I'd prefer not to hardcode this value and is wondering if there is an enum somewhere or other way to get the list of possible values?

Thanks.

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by winbatch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.