answersLogoWhite

0


Best Answer

To format /dev/hda5 with ext3 file system.

As superuser: # mkfs.ext3 /dev/sda5

Important quote from a website: WARNING: Executing these commands will destroy all the data on your filesystem. So, try these commands only on a test system where you don't care about losing your data. Unquote.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: To format a filesystem with specified filesystem type ypu can use the option with the mkfs command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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

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.


How do you give command line arguments while running a program in Linux?

Different commands can have different syntaxes. The most common format is 'command -a -b -c -d' or 'command -abcd'. Commands with long options will also support the syntax 'command --option --option2 --coption3'.


What is the option to sell stock at a specified time in the future called?

A Put option


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 happens if the argument to exec is not executable?

If command is not specified, a non-interactive shell exits, unless the shell option exefail is enabled, in which case if returns failure. Returns if file cannot be executed.


Why awk -f command is used?

The awk programming/scripting language is used to pattern match text and then do something with the result. Using the -f option indicates that the awk program/script has been stored in an external file instead of being specified inline with the command.


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 n command in Linux?

There is no "-n" command by default in linux, though it can be an option to other commands. For example, in the make(1) command, it can be used to suppress the make program from actually doing the actions specified - it just prints out what it would have done.Answer[-n] may be what is called a "switch" typically passed to a Unix or Linux command. As mentioned above, it modifies the actions of another command. For example, in the sort(1) command, it instructs sort to sort numerically instead of alphabetically. The meaning of any given switch will typically vary from command to command so read each man page carefully before using a switch. [JMH]


How do you format data?

usally by clicking on the data you wish to format an option will come up asking you if you want to format it


Can cell alignment be change in Excel?

You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.You can do it in a few places like on the Format menu or on the formatting toolbar. Right clicking on the cell and pick the Format Cells option and Alignment is another way.


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

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


How do you display the format cells dialog box?

Right-click on the cell you want to format and click the Format Cells option.