Re: gpart, slice starts at 0

2013-02-17 Thread Warren Block
On Sun, 17 Feb 2013, Erich Dollansky wrote: gpart destroy -F da0 diskinfo da0 dd if=/dev/zero of=/dev/da0 bs=512 count=34 dd if=/dev/zero of=/dev/da0 bs=512 count=34 seek=312581774 Someone here on the lists (I unfortunately forget who) showed a sneaky easier way to do this: gpart destroy -F

Re: gpart, slice starts at 0

2013-02-17 Thread Erich Dollansky
Hi, On Sun, 17 Feb 2013 09:11:48 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Sun, 17 Feb 2013, Erich Dollansky wrote: gpart destroy -F da0 diskinfo da0 dd if=/dev/zero of=/dev/da0 bs=512 count=34 dd if=/dev/zero of=/dev/da0 bs=512 count=34 seek=312581774 Someone here on

gpart, slice starts at 0

2013-02-16 Thread Erich Dollansky
Hi, I did this to get a disk partitioned: #!/bin/tcsh ### # # File name:FormatSamsung160GB # # Description: This script formats a thumb drive connected as da0 #

Re: gpart, slice starts at 0

2013-02-16 Thread Erich Dollansky
Hi, On Sat, 16 Feb 2013 14:51:22 +0700 Erich Dollansky er...@alogt.com wrote: I did this to get a disk partitioned: #!/bin/tcsh ### # # File name: FormatSamsung160GB # # Description:This script

Re: gpart, slice starts at 0

2013-02-16 Thread Warren Block
On Sat, 16 Feb 2013, Erich Dollansky wrote: I did this to get a disk partitioned: #!/bin/tcsh Gah! gpart destroy -F da0 diskinfo da0 dd if=/dev/zero of=/dev/da0 bs=512 count=34 dd if=/dev/zero of=/dev/da0 bs=512 count=34 seek=312581774 Someone here on the lists (I unfortunately forget

Re: gpart, slice starts at 0

2013-02-16 Thread Erich Dollansky
Hi, On Sat, 16 Feb 2013 08:44:50 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Sat, 16 Feb 2013, Erich Dollansky wrote: I did this to get a disk partitioned: #!/bin/tcsh Gah! it is a generated script. gpart destroy -F da0 diskinfo da0 dd if=/dev/zero of=/dev/da0