bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Scripting parted


From: VomLehn, David
Subject: RE: Scripting parted
Date: Mon, 8 Jan 2007 17:52:26 -0800

Output from parted when I try to use "-s" with the mklabel command
==================================================================
Note: This may not matter, but my disk starts of with a partition table
format that is not recognized by parted.

The output if I use "-s":

     ~ # parted -s /dev/hda mklabel yes msdos
     Warning: The existing disk label on /dev/hda will be destroyed and
all data on this disk wi
     ll be lost. Do you want to continue?
     Backtrace has 2 calls on stack:
       2: /lib/libparted-1.8.so.0(ped_assert+0x6c) [0x2ab11e98]
       1: parted [0x411d44]
     *** glibc detected *** parted: munmap_chunk(): invalid pointer:
0x00463cc0 ***
     Aborted

If I don't use "-s":

     ~ # parted  /dev/hda mklabel yes msdos
     Warning: The existing disk label on /dev/hda will be destroyed and
all data on
     this disk will be lost. Do you want to continue?
     Information: Don't forget to update /etc/fstab, if necessary.

And the version:

     ~ # parted -v
     GNU Parted 1.8.1


--
David VomLehn, Staff O/S Software Engineer
Scientific Atlanta, A Cisco Company
10590 N. Tantau Avenue, Cupertino, CA 95014
address@hidden
voice: 408-777-5052 fax: 408-777-0176



> -----Original Message-----
> From: Otavio Salvador [mailto:address@hidden
> Sent: Monday, January 08, 2007 5:18 PM
> To: VomLehn, David
> Cc: address@hidden
> Subject: Re: Scripting parted
>
> "VomLehn, David" <address@hidden> writes:
>
> > parted -s /dev/hda mklabel yes msdos
> >
> >    it fails and prints a backtrace. Is this a bug or the
> way parted is
> >    expected to work?
>
> I would love to see the backtrace you have gotten ;-)
>
> --
>         O T A V I O    S A L V A D O R
> ---------------------------------------------
>  E-mail: address@hidden      UIN: 5906116
>  GNU/Linux User: 239058     GPG ID: 49A5F855
>  Home Page: http://otavio.ossystems.com.br
> ---------------------------------------------
> "Microsoft sells you Windows ... Linux gives  you the whole house."
>



     - - - - - Appended by Scientific Atlanta, a Cisco company - - - - - 
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is solely
intended for the named addressee (or a person responsible for delivering it to
the addressee). If you are not the intended recipient of this message, you are
not authorized to read, print, retain, copy or disseminate this message or any
part of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]