I don't know, but I think it's trivial. If I remember well, fdisk shows
the drive data under the expert menu, so ...

fdisk /dev/sdb
x (go to expert menu)
e (edit drive data)

the first question is bytes/sector

Please let us know if it works :)
Ionut

On Sat, 2003-09-20 at 01:17, Szieberth Denes wrote:
> > scsiformat uses the /dev/sg* device, not /dev/sdb. Does this mean that
> > the disk is not listed under /proc/scsi/scsi at all ?
> >
> 
>  /proc/scsi/scsi:
> 
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
>   Vendor: SEAGATE  Model: ST318451LW       Rev: 0003
>   Type:   Direct-Access                    ANSI SCSI revision: 03
> Host: scsi0 Channel: 00 Id: 04 Lun: 00
>   Vendor: IBMAS400 Model: DGVS09U          Rev: S9NA
>   Type:   Direct-Access                    ANSI SCSI revision: 02
> 
> The one I want to format is the second one. However, scsiinfo does not
> work for any of the /dev/sg* devices (it works for /dev/sda), trying
> scsiformat /dev/sg1 for blind resulted in:
> 
> scsiformat (flushing disk buffers of /dev/sg1): Invalid argument
> 
> any other idea?
> 
> thanks
> dino
> 
> 
-- 
***************
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix 
*        you can do anything your computer is able to do."




Reply via email to