I have a digital camera (Sony DSC-S70) with two memory cards (128 and 64 MB). I can start with either memory card (in this case I started with the 64 MB card) and can read/write perfectly. If it switch the memory card and attempt to mount I get:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems
If I cat the contents of /proc/partitions the old entries for the 64 MB
card still exist:
major minor #blocks name
8 0 63424 scsi/host1/bus0/target0/lun0/disc
8 1 63340 scsi/host1/bus0/target0/lun0/part1
<IDE entries snipped>
I can manually remove the device by running "scsiadd -r 1 0 0 0" but I
have to add it again using "scsiadd -a 1 0 0 0" before I can access the
camera again -- /dev/sda1 does not exist.
My kernel is 2.4.17 SMP running devfs. I have an Adaptec 2930CU SCSI
controller installed.
I skimmed over the scsi.c file in the kernel source tree and saw a
comment about not using "remove-single-device" for hot plugging and I
was wondering if I was doing something potentially hazardous to my data
with the scsiadd method.
Justin Graham
msg02611/pgp00000.pgp
Description: PGP signature
