April 19, 2012

Does Linux have a chkdsk function?

Does Linux have a chkdsk function?

Yes, only in Linux it's called fsck

Yes, only in Linux it's called fsck

Like  (8 likes)

Depending on the filesystem you use there may or may not be a chkdsk-alike...

Depending on the filesystem you use there may or may not be a chkdsk-alike called fsck.. for instance fsck.ext4 is the chkdsk equivalent for ext4 file systems.
You shouldn't need fsck for modern filesystems anyway since they have journaling functions and should be able to recover from crashes.
If you DO chose to run fsck, be aware that you can easily unintentionally trash your filesystem

Like  (1 like)

Yes. The 'chkdsk' command as you known is a check and repair file system tool...

Yes. The 'chkdsk' command as you known is a check and repair file system tool. For linux you need to determine what type of file system you use, you can try use 'df' for that and then use the 'e2fsck' command to check and repair your file system. Take a time ro read the manual before use the command, it is dangerous and can corrupt your date if u don't known how to use.

Like  (1 like)

Yes it does ... it is called fsck (filesystem check) and should be used like...

Yes it does ... it is called fsck (filesystem check) and should be used like this :

fsck /dev/device

Like  (2 likes)

Yes. From a terminal, you can use the fsck program to repair disks. Most...

Yes. From a terminal, you can use the fsck program to repair disks. Most distrobutions also supply a graphical disk utility, like GParted, that can repair disks as well as set up partitions.

Like  (3 likes)

I would think the command...

I would think the command
badblocks disk_to_check

would do the same thing as chkdisk.

Like  (4 likes)

Yes and no. Linux's version of chkdsk is called fsck. It runs automatically...

Yes and no. Linux's version of chkdsk is called fsck. It runs automatically on start up you can find more here... http://en.wikipedia.org/wiki/Fsck

Like  (0 likes)

There is no for chkdsk on Linux/Unix based systems. To test file integrity a...

There is no for chkdsk on Linux/Unix based systems. To test file integrity a file system uses fsck when it warrants it. That is, if a power outage occurs etc. In Debian, fsck is set to check file integrity every 30 boots or so, whether it's needed or not.

Like  (0 likes)

Linux and Unix do not have a program called chkdsk. It is called fsck....

Linux and Unix do not have a program called chkdsk. It is called fsck.
And provided the distro you are using has man pages, you can find out about any commands you are interested in by using the man command.. as such:
man fsck

Like  (0 likes)

The function you are looking for is called fsck but this is typically for ext...

The function you are looking for is called fsck but this is typically for ext based file systems (ext2/3/4) which tend to be the most commonly used, for any other file systems you may want to look it up on here or google.

Like  (0 likes)

Pages