Sunday, March 4, 2012

How do you determine what Linux file system your using?

When you log onto a Linux system and get to the command prompt, how can you determine which of the many file systems supported in Linux you are using? Is there a command that will identify it?How do you determine what Linux file system your using?
Use fsck with the N option which just show what would have been done, but also show you what type of filesystem it is.



fsck -N /dev/(device-name)



e.g.



fsck -N /dev/hdc2



The 'mount' command wont help if the filesystem isn't mounted, and looking in /etc/fstab wont help because you cant be sure that information can be trusted.How do you determine what Linux file system your using?
Use "mount" without options to display a list of currently mounted filesystems
  • raw food recipes
  • restaurants in dc
  • No comments:

    Post a Comment