'sfdisk'에 해당되는 글 1건

  1. 2010.03.25 fdisk를 자동화하기? (non interative mode fdisk)
Linux2010. 3. 25. 17:10
fdisk는 몇가지 옵션을 제공하지만, 실질적으로
interactive mode로 일일이 하나씩 설정을 해야 한다.

즉, 프로그램에 내장시켜 파티션을 전부 삭제하고,
단일 파티션으로 잡는다거나 하는 용도로 쓰기에는 모호한 감이 있다.

이를 해결하기 위해서 fdisk를 대화식으로 하지 않는 방법을 찾거나
$ echo -e "n\np\n1\n\n\nt\n8e\nw" | fdisk /dev/sdX

[링크 : http://www.commandlinefu.com/commands/using/fdisk]

혹은 다른 프로그램을 사용해야 한다.

[링크 : http://linux.die.net/man/8/sfdisk]
    [링크 : ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/]
[링크 : http://linux.die.net/man/8/parted]
    [링크 : http://www.gnu.org/software/parted/index.shtml]

Sfdisk is part of the util-linux package, which, as far as I can tell,
is unmaintained since the last release in Sept 2005.

There is a fork called util-linux-ng, released August 2007,
which you can get here: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/

[링크 : http://www.linuxquestions.org/questions/linux-software-2/location-of-the-latest-sfdisk-source-590331/]

Posted by 구차니