[conspire] parted question - how do I tell parted to partion /dev/sdb
Tony Godshall
tony at of.net
Sun Mar 28 20:53:20 PDT 2010
Assuming your device is /dev/sdx and has no partitions you can do this, I think
# parted /dev/sdx mkpartfs primary ext3
Probably someone else will have a better answer; I habitually use
cfdisk except when I need to do something special like resize a
partition...
I also habitually make partitions first and then make filesystems
after, but it's cool parted can do both...
Best Regards.
On Sun, Mar 28, 2010 at 20:04, Darlene Wallach
<freepalestin at dslextreme.com> wrote:
> I don't see how to tell parted to partition the Seagate FreeAgent Go 1T
>
> parted help lists the following:
> mkpart PART-TYPE [FS-TYPE] START END make a partition
> mkpartfs PART-TYPE FS-TYPE START END make a partition with a file
> system
>
> parted help mkpartfs lists:
>
> (parted) help mkpartfs
> mkpartfs PART-TYPE FS-TYPE START END make a partition with a file
> system
>
> PART-TYPE is one of: primary, logical, extended
> START and END are disk locations, such as 4GB or 10%. Negative
> values
> count from the end of the disk. For example, -1s specifies exactly
> the
> last sector.
>
> parted help mkpart lists:
>
> mkpart PART-TYPE [FS-TYPE] START END make a partition
>
> PART-TYPE is one of: primary, logical, extended
> FS-TYPE is one of: ext3, ext2, fat32, fat16, hfsx, hfs+, hfs, jfs,
> linux-swap, ntfs, reiserfs, hp-ufs, sun-ufs, xfs, apfs2, apfs1,
> asfs,
> amufs5, amufs4, amufs3, amufs2, amufs1, amufs0, amufs, affs7, affs6,
> affs5, affs4, affs3, affs2, affs1, affs0
> START and END are disk locations, such as 4GB or 10%. Negative
> values
> count from the end of the disk. For example, -1s specifies exactly
> the
> last sector.
>
> 'mkpart' makes a partition without creating a new file system on the
> partition. FS-TYPE may be specified to set an appropriate partition
> ID.
>
>
> I'm assuming I want mkpartfs. But I don't see how I can specify which drive.
>
> What am I missing?
>
> Thank you
>
> Darlene Wallach
> --
> equal justice under law
>
> _______________________________________________
> conspire mailing list
> conspire at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/conspire
>
>
More information about the conspire
mailing list