LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   partitioning aiwa mp3 player (https://www.linuxquestions.org/questions/linux-hardware-18/partitioning-aiwa-mp3-player-379216/)

changcheh 11-02-2005 05:31 AM

partitioning aiwa mp3 player
 
I have a cheap chinese aiwa aw66 (256MB) mp3 player.
The dmesg output is
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
Vendor: SigmaTel Model: MSCN Rev: 0100
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdb: 501760 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 501760 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1 sdb2
Attached scsi removable disk sdb at scsi9, channel 0, id 0, lun 0
usb-storage: device scan complete

It was working fine before but, I decided to partition it and create a section with FAT32 for long file names, so I could store documents on it. I used fdisk to delete the old partion and create 2 new ones; a 200MB FAT16 one and a 56MB FAT32 one.

The MP3 player works but, I cannot save large files to it, 3-4MB ones are fine. This is the same for both partitions I am mounting it as before with this line from fstab

/dev/sdb1 /mnt/pendrive auto users,defaults,noauto,user 0 0

Any ideas why it isn`t accepting large files?

Thanks

pyrael 11-02-2005 05:44 AM

Try manually mounting each partition with :
# mnt /dev/sdb1 -tvfat /mnt/mp3 (or whatever your mnt file is for the device. Also,is mtab or fstab attempting to mount both partitions to the same directory? --just a thought. It happened to me with an external HDD that I did similar to. Also what is the exact error message you get when you try to mount? are you mounting both partitions at the same time? if so can you mount the separately? We really need more info on your error mesages to help. --unless of course my suggestion works ;)

changcheh 11-02-2005 08:11 AM

Thanks pyrael.

Fstab mounts each directory separately, to different mount points. This part works.

Copying files of any size also works, I made a mistake mounting as root and trying to copy files as a user. Doh! The problem is filenames are only 8 characters long on both the FAT16 and FAT32 partitions. It gives no error message; if I copy a file with a 30 character filename from an ext3 directory to the FAT32 partition but, when it reaches the MP3 player it changes to an 8 character one.

Sorry about the confusion.

pyrael 11-02-2005 10:18 AM

No problem,

I guess the easiest solution would be to re-name thefiles when writing to the device? That doesn't realy make sense though if it was working before, Will it use a different Filesystem? maybe CD type fs of NTFS? sorry I can't help much there


All times are GMT -5. The time now is 05:49 PM.