On Mon, Apr 5, 2010 at 2:51 PM, Mike B. <[email protected]> wrote:
> When I tried your command line,
>
> sudo fdisk -clu /dev/sda
>
> I got
>
> fdisk: invalid option -- 'c'

Must be a new option to fdisk:

$ fdisk -v
fdisk (util-linux-ng 2.17.2)

$ fdisk -h

Usage:
 fdisk [options] <disk>    change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks

Options:
 -b <size>                 sector size (512, 1024, 2048 or 4096)
 -c                        switch off DOS-compatible mode
 -h                        print help
 -u <size>                 give sizes in sectors instead of cylinders
 -v                        print version
 -C <number>               specify the number of cylinders
 -H <number>               specify the number of heads
 -S <number>               specify the number of sectors per track

Regards,
- Robert

-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug

To unsubscribe, reply using "remove me" as the subject.

Reply via email to