Results 1 to 3 of 3
There's some ways to read the types of file system in each partition in user space, like blkid. Now I want to transplant it under kernel space. By reading the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-12-2012 #1Just Joined!
- Join Date
- Jul 2012
- Posts
- 2
How to read the file system type of a partition in kernel space
There's some ways to read the types of file system in each partition in user space, like blkid. Now I want to transplant it under kernel space. By reading the source codes of blkid I found that it reads the partition information from the file "/etc/blkid/blkid.tab", but who writes the information in it and how does it get these information? Any help would be appreciated
- 07-23-2012 #2
I think libblkid writes that info to the cache file /etc/blkid/blkid.tab
- 07-25-2012 #3Just Joined!
- Join Date
- Jul 2012
- Posts
- 2
I figured it out later,problem solved. But thanks anyway


1Likes

