answersLogoWhite

0

What is the effect of the -a option on the fsck command?

Updated: 8/20/2019
User Avatar

PayamNab

Lvl 1
11y ago

Best Answer

from man fsck :

Automatically repair the filesystem without any questions (use

this option with caution). Note that e2fsck(8) supports -a for

backward compatibility only. This option is mapped to e2fsck's

-p option which is safe to use, unlike the -a option that some

filesystem checkers support.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the effect of the -a option on the fsck command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What must you do to run the fsck command on a filesystem?

fsck /dev/sda1


What must you do to successfully run the fsck command on a filesystem?

You need root privileges, and it's often best not to use fsck on a live (mounted.) filesystem. Also you'll need to know the device file and, in some cases, the filesystem of the partition you're working on. The command is thusly: # fsck /dev/sdXY In most cases the fsck command will figure out what the filesystem is and run the appropriate filesystem checker.


What tool do you use to repair a corrupt volume in Unix?

fsck is the typical command for this.


When was Fsck - album - created?

Fsck - album - was created in 1997.


What does fsck mean in Linux?

fsck (means "file system check").


Which Linux command can be used to repair improperly shutdown or otherwise potentially corrupt partitions?

fsck check and repair a Linux filesystem


How do you check the Linux file system for errors?

fsck /dev/(device) or fsck (mountpoint) to check one disk fsck -A to check all disks


How do you check a disk for errors in Ubuntu?

The same as in pretty much any other Linux or Unix distribution.NOTE: If you wish to repair a file system, it is recommended that you dismount it first (umm, strongly recommended, in fact).Switch user to root and issue the fsck command (dismounting the file system first if disk repairs are intended) passing the pathname of the device to be checked (and optionally repaired) with the fsck command.Most implementations of fsck include command line interface switches that permit interactive repair or automatic repair of file systems, depending on the user's knowledge levels or personal preferences. If you aren't familiar with the particulars of file system repairs on the file system to be checked, it is recommended that fsck be allowed to make it's repairs automatically.Lastly, if the file system was dismounted before fsck was run, remount file system on desired mount point and use as desired.


What is FSCK disk?

Usually pronounced Fisk Disk, FSCK is a linux/unix software command used for file system checking. fsck [options] [filesystem] ... System administration command. Call the filesystem checker for the appropriate system type to check and repair unmounted filesystems. If a filesystem is consistent, the number of files, number of blocks used, and number of blocks free are reported. If a filesystem is inconsistent, fsck prompts before each correction is attempted. fsck's exit code can be interpreted as the sum of all conditions that apply: 1Errors were found and corrected. 2 Reboot suggested 4Errors were found but not corrected 8 fsckencountered an operational error 16 fsck was called incorrectly 128 A shared library error was detected -- Pass all subsequent options to filesystem-specific checker. All options that fsck doesn't recognize will also be passed -s Serial mode. Check one filesystem at a time -t fstype. Specify the filesystem type. Do not check filesystems of any other type -A Check all filesystems listed in /etc/fstab. The root filesystem is checked first -C Display completion (progress) bar -N Suppress normal execution; just display what would be done -PMeaningful only with -A: check root filesystem in parallel with other systems. This option is potentially dangerous -RMeaningful only with -A: check all filesystems listed in /etc/fstab except the root filesystem -T Suppress printing of title -V Verbose mode


What is the command '-va' used for?

This isn't a command - it appears to be an option (switch) on a different command.


What is the linux program that finds and repair disk error?

fsck


What is use of -exec in find command of unix?

The -exec option executes the following command on a target of the 'find' command.