Subject: Re: Drive Woes
To: None <kenn@synap.ne.jp>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 11/05/1998 22:23:33
I think I remember seeing Jason commit a new scsictl program recently,
and then shortly thereafter added the low-level "format unit" command to
one of the header files. This just might do the trick...
On Fri, 6 Nov 1998, Ken Nakata wrote:
> Joshua E Hope wrote:
> >
> > What I am wondering: Can I format this drive from within UNIX?
>
> Provided that you know the partition table format precisely and that
> reads/writes to the drive still works, you could write a small C program
> (or even a Perl script) to write a fake partition table image to a few
> top sectors of /dev/rsdXc.
>
> Ken
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------