You are not logged in.

#1 2012-08-29 23:19:57

gemma
Banned
Registered: 2012-07-11
Posts: 98

new install shell rejects valid mkfs options

i like to format my linux partitions with

mkfs.ext4 -m 2 -O ^has_journal,extent,..............etc


this is being rejected as incorrect switches by the new install shell when they are valid params,

thanks

Offline

#2 2012-08-30 08:06:46

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 943

Re: new install shell rejects valid mkfs options

Please post the complete command you are using...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2012-08-30 14:49:25

gemma
Banned
Registered: 2012-07-11
Posts: 98

Re: new install shell rejects valid mkfs options

mkfs.ext4 -L arch -m 2 -O ^has_journal,extent,sparse_super,^resize_inode,filetype,dir_index,flex_bg /dev/sda3

but its the -O options its complaining about, probably ^has_journal

Last edited by gemma (2012-08-30 14:50:14)

Offline

#4 2012-08-30 20:32:58

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: new install shell rejects valid mkfs options

Quote the command-line, to avoid the shell interpreting the circumflex as a negation operator, as the default shell is zsh with extended globbing enabled...

Offline

#5 2013-01-31 15:16:26

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,619

Re: new install shell rejects valid mkfs options

I had a similar issue and this thread came up in a google search. FWIW, mhertz's suggestion (I quoted just the options string) worked for me.

Last edited by alphaniner (2013-01-31 15:18:46)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB