xfs
[Top] [All Lists]

Checking FS type

To: linux-xfs@xxxxxxxxxxx
Subject: Checking FS type
From: Diyab <diyab@xxxxxxxxxxxx>
Date: Sat, 10 Jan 2004 17:18:49 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
Hello,

I'm working with SELinux and adding XFS attribute / security label support into the API. The problem I'm running into is trying to determine what type of filesystem the file I'm operating on is located on. With ext2/3 the EA attribute name is different from what it will be on an XFS file system so I need to detect the file system type from the file stream I have open. I'm not familiar with how to check the file system type since I've not done this before so does anyone have any suggestions to give me? Any help is really appreciated, thanks!

Timothy,

Also please CC me because I am not on the list.


<Prev in Thread] Current Thread [Next in Thread>