赞
踩
- fdisk - create QNX disk partition (QNX)
-
- fdisk [-zf] [-B loader] drive [cmd [args]]
- Options:
- -z Zero the partition table (interactive mode only)
- -B loader Use filename 'loader' as the primary loader for the device.
- -f Force boot loader to be written on demand, even if it is
- impossible to save the old loader which had been on the disk.
- In non-interactive mode force "add" command to be actioned, even
- if this would involve over-writing an existing partition slot.
-
- Where:
- drive is the name of the disk (e.g. /dev/fd1, /dev/hd0)
- cmd is a mandatory command. Recognised commands are:
- add [args] Create a partition.
- delete [args] Delete partition(s).
- boot [args] Make partition bootable.
- query [args] Size in cylinders.
- loader Copy boot loader to disk.
- show Display partition table.
- info Show mount info for raw drive.
-
- Command Arguments:
- add [-s slot] [-e index] [-t type] [-b] [-c start,end] [-p percentage] [-l]
- Note that extended partition indices may change due to additions.
- Options:
- -s slot Slot in partition table to use (1..4, default is last free)
- -e index Index into the extended partition. (1..N)
- -t type Type of partition to be added (1 - 255, default is 77).
- -b Make added partition boot capable.
- -c start,end Pass the start and end cylinder for the partition to use.
- -n count Number of cylinders to allocate (extended partitions only)
- -p percent Percentage of the largest contiguous space the added
- partition should use, this option is ignored if the -c
- option is used (default is 100%)
- delete [-s slot] [-e index] [-t type] [-a]
- Note that extended partition indices may change due to deletions.
- Options:
- -s slot Delete partition in selected slot.
- -e index Index into the extended partition. (1..N)
- -t type Delete partition of selected type.
- -a Delete all partitions.
- boot [-s slot] [-e index] [-t type]
- Options:
- -s slot Boot partition in selected slot.
- -e index Index into the extended partition. (1..N)
- -t type Boot partition of selected type.
- type [-s slot] [-t type[,type2]]
- Options:
- -s slot Change type in selected slot.
- -t type[,type2] If slot is specified, only type is valid as the new type.
- If slot is not specified, both type and type2 are required,
- and change the selected type to type2.
- query [-s slot] [-e index] [-t type] [-f] [-T] [-l]
- Options:
- -s slot Query partition in selected slot.
- -e index Index into the extended partition. (1..N)
- -t type Query partition of selected type.
- -f Query total number of free cylinders.
- -T Query total number of cylinders.
- -l Change units from cylinders to blocks.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。