linuxubuntufsck

Where can I get fsck code?


I have been trying to find out fsck code. I cannot find it in the coreutils package in Ubuntu. Could someone please let me know, where I would be able to take a look at the fsck code?


Solution

  • fsck has several implementations depending on used file system. For ext2/ext3/ext4 you need "e2fsprogs" package in Ubuntu.

    Try:

    sudo apt-get source e2fsprogs