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

Fat32 woes



Hello.

I have been trying really hard here the past week to get my OpenBSD 3.5 system 
to play nice with my fat32 partition.

I thought I finally had it.  My disk is partitioned nicely, disklabel  
recognizes my fat32 partition as /dev/rwd0i or /dev/wd0i.  I thought I was in 
the clear.

Every time I mounted it, it told me I need a block device (rwd0i) or that it 
is not an msdos filesystem (wd0i).

So, I decided to format it with OBSD, thinking that might make it happy. No 
dice:

=================<snip>==================================
# disklabel /dev/rwd0c
# using MBR partition 1: type A6 off 62 (0x3e) size 80341003 (0x4c9e80b)
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6Y250P0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 490234752
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  4194226       62    4.2BSD     2048 16384   328   # (Cyl.    0*- 4160)
  b:  1048320  4194288      swap                        # (Cyl. 4161 - 5200)
  c: 490234752        0    unused        0     0        # (Cyl.    0 - 486343)
  d:  1048320  5242608    4.2BSD     2048 16384   328   # (Cyl. 5201 - 6240)
  e:  1048320  6290928    4.2BSD     2048 16384   328   # (Cyl. 6241 - 7280)
  g: 16777152  7339248    4.2BSD     2048 16384   328   # (Cyl. 7281 - 23924)
  h:  8388576 24116400    4.2BSD     2048 16384   328   # (Cyl. 23925 - 32246)
  i: 409609242 80614233     MSDOS                       # (Cyl. 79974*- 
486332*)

# mount -t msdos /dev/wd0i /mnt/misc
mount_msdos: /dev/wd0i on /mnt/misc: not an MSDOS filesystem

# newfs -t msdos /dev/rwd0i
/dev/rwd0i: 408810744 sectors in 51101343 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16 hid=80614233 bsec=409609242 
bspf=399230 rdcl=2 infs=1 bkbs=2

# mount -t msdos /dev/wd0i /mnt/misc
mount_msdos: /dev/wd0i on /mnt/misc: not an MSDOS filesystem

# newfs_msdos -F 32 /dev/rwd0i
/dev/rwd0i: 408810744 sectors in 51101343 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16 hid=80614233 bsec=409609242 
bspf=399230 rdcl=2 infs=1 bkbs=2

# mount_msdos /dev/rwd0i /mnt/misc
mount_msdos: /dev/rwd0i on /mnt/misc: Block device required

# mount_msdos /dev/wd0i /mnt/misc
mount_msdos: /dev/wd0i on /mnt/misc: not an MSDOS filesystem
====================</snip>=====================================

What am I missing here?

Thanks!

Chris



Visit your host, monkey.org