repartition.8

来自「minix操作系统最新版本(3.1.1)的源代码」· 8 代码 · 共 42 行

8
42
字号
.TH REPARTITION 8.SH NAMErepartition \- load a partition table.SH SYNOPSIS\fBrepartition\fP \fIdevice\fP [\fIpartition-file\fP].SH DESCRIPTION.B Repartitionuploads a new partition table for the partitions of.IR device .The table is obtained from the first sector of.I partition-fileif given,.I deviceotherwise..I Devicemay refer to the whole drive or a primary partition, depending on whether youwant to upload a partition or a subpartition table.  The partitions will betruncated to fit within the enclosing device like the disk driver does,unless the numbers are coming from.IR partition-file ..SH EXAMPLESrepartition /dev/hd0.brrepartition /dev/hd4 /etc/hd4.table.PPReload the partition table of drive 0 setting /dev/hd[1\-4], and thesubpartition table of /dev/hd4 setting /dev/hd4[a\-d] using a file.The latter may be useful if you need more than the 4 subpartitions asingle MINIX 3 partition gives you..SH DIAGNOSTICSThe new table is printed on standard output..SH FILES/dev/hd[0-9].SH "SEE ALSO".BR hd (4),.BR part (8)..SH BUGSThe disk must be in use for the changes to stick.  The partition table ofan idle disk will be reloaded on the first open..SH AUTHORKees J. Bot (kjb@cs.vu.nl)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?