bug#22190: mkpart: "primary" unrecognised

worik <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
$ sudo parted -s /dev/sdb mkpart primary 0 8000
parted: invalid token: primary
Error: Expecting a file system type.


The man page says:

mkpart part-type [fs-type] start end
                     Make a part-type partition with filesystem fs-type
(if specified), beginning at  start  and  ending  at  end  (by default
in megabytes).   fs-type  can  be  one of "fat16", "fat32", "ext2",
"HFS", "linux-swap", "NTFS", "reiserfs", or "ufs".  part-type
                     should be one of "primary", "logical", or "extended".


Worik
-- 
Why is the legal status of chardonnay different to that of cannabis?
                  [email protected] 021-1680650, (03) 4821804
                          Aotearoa (New Zealand)
                             I voted for love
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.