Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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/", but who writes the information in it and how does it get these information? Any help would be appreciated

  2. #2
    Linux Newbie hagfish52's Avatar
    Join Date
    Dec 2011
    Asheville, NC
    I think libblkid writes that info to the cache file /etc/blkid/

  3. #3
    I figured it out later,problem solved. But thanks anyway

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts