info-mtools
[Top][All Lists]
Advanced

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

[mtools] 'mformat' .vs. 'mkfs.vfat' on 230Mb MO


From: Alec Voropay
Subject: [mtools] 'mformat' .vs. 'mkfs.vfat' on 230Mb MO
Date: Wed, 29 Jan 2003 16:52:51 +0300
User-agent: Mutt/1.4i

Hi!

 I'm trying to use SCSI 230Mb MO on Linux.

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
        <Adaptec 2902/04/10/15/20/30C SCSI adapter>
        aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

  Vendor: FUJITSU   Model: MCF3064SS         Rev: 0030
  Type:   Optical Device                     ANSI SCSI revision: 02
(scsi1:A:0): 10.000MB/s transfers (10.000MHz, offset 15)


 It works. Unfortunately, I have some troubles while formatting
MO. The 'mformat' utility and 'mkfs.vfat' utility produses
different format of VFAT on MO.

 The 'mkfs.vfat' creates 512 root directore slots
by default, while 'mformat'  176 only.

 OK, 'mkfs.vfat' has '-r 176' option. However,
these two utilities produces different format of MO :
-media descriptor byte
-sectors per fat

 It seems, 'mtools' can't determine correct number of
tracks (=218)

Versions:
dosfstools-2.8
mtools-3.9.8

/etc/mtools.conf
=======================================
drive m: file="/dev/sdc"
=======================================

See logfile for more details :
=======================================
address@hidden:~# mkfs.vfat -I -r 176 -v /dev/sdc
mkfs.vfat 2.8 (28 Feb 2001)
/dev/sdc has 64 heads and 32 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 446324 sectors;
file system has 2 16-bit FATs and 8 sectors per cluster.
FAT size is 218 sectors, and provides 55734 clusters.
Root directory contains 176 slots.
Volume ID is 3e37d755, no volume label.
address@hidden:~# minfo m:
device information:
===================
filename="/dev/sdc"
sectors per track: 32
heads: 64
cylinders: 218

mformat command line: mformat -t 218 -h 64 -s 32 m:

bootsector information
======================
banner:" mkdosfs"
sector size: 512 bytes
cluster size: 8 sectors
reserved (boot) sectors: 1
fats: 2
max available root directory slots: 176
small size: 0 sectors
media descriptor byte: 0xf8
sectors per fat: 218
sectors per track: 32
heads: 64
hidden sectors: 0
big size: 446324 sectors
physical drive id: 0x0
reserved=0x0
dos4=0x29
serial number: 3E37D3C6
disk label="           "
disk type="FAT16   "
========================================



========================================
address@hidden:~# mformat m:
address@hidden:~# minfo m:
device information:
===================
filename="/dev/sdc"
sectors per track: 32
heads: 64
cylinders: 217

mformat command line: mformat -t 217 -h 64 -s 32 m:

bootsector information
======================
banner:"MTOOL398"
sector size: 512 bytes
cluster size: 8 sectors
reserved (boot) sectors: 1
fats: 2
max available root directory slots: 176
small size: 0 sectors
media descriptor byte: 0xf0
sectors per fat: 217
sectors per track: 32
heads: 64
hidden sectors: 0
big size: 444416 sectors
physical drive id: 0x0
reserved=0x0
dos4=0x29
serial number: 48F174F7
disk label="NO NAME    "
disk type="FAT16   "
========================================



P.S. To mtools authors: change the URL for mailing list
for bugreports in ~/README file. It's hard to find
this.


-- 
-=AV=- 
_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools


reply via email to

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