On Sunday 08 February 2004 01:17, Ged Haywood wrote:
> > # fdisk -l /dev/sda
> >
> > Disk /dev/sda: 8 heads, 62 sectors, 1019 cylinders
> > Units = cylinders of 496 * 512 bytes
> >
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/sda1   ?   3870869   4968525 272218546+  20  Unknown
>
> You have a 272 Gigabyte memory stick?  I think this filesystem is
> trashed.  Why not reformat it and try again?

I'd really like a 272GB memory stick, but I guess it ain't one... =)

OK, I killed the old fs, repartitioned and reformated, I now get:
=================================================================
# fdisk -l /dev/sda

Disk /dev/sda: 8 heads, 62 sectors, 1019 cylinders
Units = cylinders of 496 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1      1019    252681    6  FAT16
=================================================================

When I plug it in now, the following line is added to my fstab:
=================================================================
/dev/sda1 /media/sda1 auto noauto,user,exec 0 0 #HOTPLUG B3Fu.I_zcTJvUt7E
=================================================================

and I can mount the stick with:
mount /media/sda1

Now, I'm able to copy files to the stick again, play them after I unmounted & 
unplugged, but as soon as I plug the stick back into the usb-hub, the files 
copied to it with the linux-box vanish. Only the files created by the device 
itself (via the voice-recorder) and the ones copied to the stick via W2K will 
stay.

Can anybody explain to me how just pluggin' in that stick can erase "some" 
files on it? This doesn't make sense to me...

Mounting /dev/sda will still work, but files copied there won't show up on the 
device (as expected).

After pluggin' it in now, I'll get the following in /var/log/messages:
Feb  8 07:09:34 cuddle kernel: hub.c: USB new device connect on bus1/2/1, 
assigned device number 8
Feb  8 07:09:34 cuddle kernel: WARNING: USB Mass Storage data integrity not 
assured
Feb  8 07:09:34 cuddle kernel: USB Mass Storage device found at 8
Feb  8 07:09:36 cuddle kernel: sd_init_onedisk (0,0), sda 08:00
Feb  8 07:09:36 cuddle kernel: SCSI device sda: 505856 512-byte hdwr sectors 
(259 MB)
Feb  8 07:09:36 cuddle kernel: sda: Write Protect is off
Feb  8 07:09:36 cuddle kernel:  sda: sda1
Feb  8 07:09:36 cuddle /etc/hotplug/usb.agent[2020]: Can't ignore signal CHLD, 
forcing to default.


-- 
Powered by SuSE 8.1pro - KDE 3.0.3 - KMail 1.4.3

At least, try asking smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html

Netiquette is easy: http://learn.to/edit_messages
...and you'll get flame-free answers in no time.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to