bcwipe won't wipe a block device...

From: Aaron Peterson (aaron_at_alpete.com)
Date: 02/19/04

  • Next message: Sean McNeil: "Re: problem with python"
    Date: Thu, 19 Feb 2004 12:57:52 -0500 (EST)
    To: freebsd-current@freebsd.org
    
    

    I don't know if this is a problem specific to CURRENT or not, but bcwipe
    seems to do the right thing when wiping files. however, when using the -b
    option to wipe an entire block device, there is an "Invalid Argument"
    error, and I don't understand exactly why...

    fbsd52# bcwipe -bvmd /dev/da0
    Wipe /dev/da0 (y/[n]/a)?a
    Wiping device /dev/da0
    Writing to /dev/da0: Invalid argument
    fbsd52# bcwipe -bvm3 /dev/fd0
    Wipe /dev/fd0 (y/[n]/a)?a
    Wiping device /dev/fd0
    Writing to /dev/fd0: Invalid argument
    fbsd52#

    these are examples of commands verbatim from the bcwipe man page... The
    devices exist in /dev/, and there is a floppy in the drive... This is the
    dmesg for the USB hard disk that I'm ultimately trying to wipe...

    umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2
    umass0: Get Max Lun not supported (STALLED)
    GEOM: create disk da0 dp=0xc2060450
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <WDC WD12 00JB-00FUA0 \\0000\\0000> Fixed Direct Access SCSI-0 device
    da0: 1.000MB/s transfers
    da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Sean McNeil: "Re: problem with python"