misc/147914: gpart add invalid type
Thiago Damas
tdamas at gmail.com
Wed Jun 16 17:40:02 UTC 2010
>Number: 147914
>Category: misc
>Synopsis: gpart add invalid type
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 16 17:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Thiago Damas
>Release: 8.1-BETA1
>Organization:
>Environment:
FreeBSD storage-mail01.vetorial.net 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Thu May 27 15:03:30 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When creating partitions using gpart, the '-t' option has a bug, creating invalid type.
storage-mail01# gpart create -s gpt ad4
storage-mail01# gpart add -t freebsd-ufs ad4
ad4p1 added
storage-mail01# gpart show ad4
=> 34 1953525101 ad4 GPT (932G)
34 1953525101 1 !00000000-0000-0000-0000-000000000000 (932G)
storage-mail01# gpart delete -i 1 ad4
ad4p1 deleted
storage-mail01# gpart add -t \!516e7cb6-6ecf-11d6-8ff8-00022d09712b ad4
ad4p1 added
storage-mail01# gpart show ad4
=> 34 1953525101 ad4 GPT (932G)
34 1953525101 1 freebsd-ufs (932G)
>How-To-Repeat:
just create any partition using gpart and -t flag
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list