file name on usb flashdrive only 8.3

Using applications, configuring, problems
Post Reply
Message
Author
ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

file name on usb flashdrive only 8.3

#1 Post by ELMIT »

I cannot find out, why I can only write 8.3 file names on a USB flash drive. How can I use long file names? The flash drive had from Windows already long file names stored.


bye

Ronald Wiplinger

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

What version of puppy are you using, and what did you use to mount/access
the usb drive (MUT, Pmount, MtoolsFM)?

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#3 Post by ELMIT »

I use 1.08, and I tried to use MUT, but also mount /dev/sda1 /mnt/sda1

What else can I try?

bye

Ronald

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#4 Post by ELMIT »

Has anybody an idea how to mount the USB flash drive to get long file names?


bye

Ronald Wiplinger

robert
Posts: 35
Joined: Tue 02 Aug 2005, 23:56

fat 16 8.3

#5 Post by robert »

http://compreviews.about.com/od/glossary/g/FAT16.htm

You might want to reformat your USB drive as fat 32. This could solve your problem.

Robert

PS: Use some common sense and backup anything important on this USB drive before you reformat.

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#6 Post by ELMIT »

Robert, I see a hard time to explain a customer that he must format a new USB flash drive to use it under Linux with long names, while he does not need to when using it with Windows.


bye

Ronald Wiplinger

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#7 Post by John Doe »

Mine is Fat16 and I can read long file names fine from puppy (except a couple puppy2 snapshots, but Barry Fixed it) or windows.

These are the specs:

Type: FAT16
Sector size: 512 Bytes
Cluster size: 16KB
Backup Fat: NO

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#8 Post by ELMIT »

John, how do you mount the USB flash drive?


bye

Ronald Wiplinger

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#9 Post by Sit Heel Speak »

My USB flash drive (flash key) also is factory-formatted FAT16, and I can both read and write long filenames, in either Puppy 2 alpha 3 or Puppy 1.0.8. When I boot from the flash key it's automounted, when I boot from hard disk the flash key can be mounted using Pmount from the Start - Utilities menu.

What version of Windows was writing to the USB drive--and if 2000 or NT or XP, did Windows format it in NTFS?

The only time I can't write or read long filenames to/from flash key, is when booting using either LINLD or grub.exe from an autoexec.bat file, with autoexec.bat either on floppy or on hard disk...while booting, before vmlinuz starts, when still in config.sys or autoexec.bat, (I boot using Windows 98SE) DOS won't recognize long filenames. For example my grub.exe file must be in a subdirectory with an 8.3 or smaller subdir name, e.g. c:\p2a3flas not c:\p2a3flash. But this is a shortcoming of DOS, not Puppy.

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#10 Post by ELMIT »

I found something interesting:

Puppy drive mounter gives me long file names
Media Utility Tool gives me short file names

mount /dev/sda1 /mnt/sda1 gives me short file names too!

How must I mount from the command line to get long file names?


bye

Ronald Wiplinger

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#11 Post by Sit Heel Speak »

You haven't told us how the flash drive is formatted. FAT16, FAT32, or NTFS?

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#12 Post by ELMIT »

how do I see it, how the shop formated it?????

In MUT and Pmounter it says vfat


bye

Ronald Wiplinger

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#13 Post by Sit Heel Speak »

vfat = FAT32.

Did you try

mount -t vfat /dev/sda1 /mnt/sda1

and if that doesn't work, reboot and try mkdir first, like

mkdir /mnt/sda1
mount -t vfat /dev/sda1 /mnt/sda1

I'm going to shut down Win 98SE now and boot Puppy 1.0.8 and see if I can duplicate the problem.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#14 Post by Sit Heel Speak »

Long filename creation works OK for me, when I mount the flashkey using MUT; I was mistaken though, above; my flash key is formatted FAT32 not FAT16. Just like ELMIT's.
Attachments
Screenshot_of_creation_of_long_filename_when_flash_drive_is_mounted_using_MUT.png
Works OK for me in 1.0.8 mounted using MUT
(170.71 KiB) Downloaded 642 times

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#15 Post by ELMIT »

I found something else!

I rebooted the machine and created the /mnt/sda1 directory.

I tried from the command line:
mount -t vfat /dev/sda1 /mnt/sda1

No such device or dirctory.

I tried this several times!

Than I opened MUT, just to see the device, and than I could use the command line.
It seems that MUT (and also Pmounter) does something before it can mount the /dev/sda1 (which exist, and since I created /mnt/sda1 this one exists as well). What? Load a module?

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#16 Post by Sit Heel Speak »

I have no idea. Long filename creation also works OK for me when I mount the device from the command line.

I must be off to sleep. I leave this problem to better minds than mine...
Attachments
Screenshot_of_Very_Long_Filename_Created_When_Flash_Key_Is_Mounted_From_Command_Line.png
(150.03 KiB) Downloaded 558 times

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

found it!!!

#17 Post by ELMIT »

I found the missing part:

modprobe sg
modprobe usb-storage



bye

Ronald Wiplinger

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#18 Post by ELMIT »

Unfortunately this is not true anymore for Puppy 2.01rc2

How to get long file names? Is it now another module?

bye

Ronald

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

status across versions?

#19 Post by raffy »

What is the status of this across versions? The problem is this:

- If USB boots Puppy and has pup_save in it, the USB gets mounted automatically, but when viewed in MUT, it displays only 8.3 filenames
- there is no way to unmount it, and it is automatically mounted at boot time

I wonder if the problem is the same with IDE flash drives?
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#20 Post by ELMIT »

It was fixed with the next version. (My message was from a year ago! Now I use 2.14)

bye

Ronald

Post Reply