|
From: | Keh-Ming Luoh |
Subject: | question.... |
Date: | Thu, 13 Mar 2003 18:14:51 +0800 |
Hi,all: Sorry, this isn’t a bug report. I am new to parted. There is one thing I don’t know what to do. I try to make a partition which starts from the head of hard disk and ends to the end of the hard disk. I check the source code of parted (1.6.5). It seems I can use ‘-0’ to indicate the end of the hard disk. I tried it in interactive mode. It works. But I need this in non-interactive mode. I tried two ways, and both of them didn’t work. The first I tried: parted /dev/hdc mkpart ext2 0 -0
The second I tried: parted /dev/hdc << EOF mkpart ext2 0 -0 EOF
Can anybody tell me how to do that? Thanks in advance!
KM |
[Prev in Thread] | Current Thread | [Next in Thread] |