Welcome, Guest. Please login or register.

Author Topic: FFS Long filenames?  (Read 5950 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
FFS Long filenames?
« on: October 23, 2011, 05:26:35 PM »
Hello!

I'm having a problem with FFS. I read that it is supposed to support up to 107 characters, however that does not seem to be the case in practice.  I'm having an issue with SaMBA in particular.

I'm connecting to a share on my windows 7 PC where I have a bunch of ADFs with longish file names. I'd like to copy those files over to my drive called BACKUP: but the copy just stops when it encounters a long filename. I would like these files on my amiga and I would also like preserve the existing filenames.

I have attached PNGs of my configuration for that drive in HDToolBox.

Do I need to use a new filesystem for that drive? Also would a new filesystem speed up that drive?

Thanks,
_nate
« Last Edit: October 23, 2011, 05:31:54 PM by bbond007 »
 

Offline Matt_H

Re: FFS Long filenames?
« Reply #1 on: October 23, 2011, 05:31:59 PM »
Not sure, but I think it's more likely a limitation of Samba. Try copying some to RAM: instead and see if you still run into trouble. RAM:'s file system is different.
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: FFS Long filenames?
« Reply #2 on: October 23, 2011, 05:41:46 PM »
Quote from: Matt_H;664707
Not sure, but I think it's more likely a limitation of Samba. Try copying some to RAM: instead and see if you still run into trouble. RAM:'s file system is different.


yeah, it seems to be chopping the filename at like 30 chars when copped to RAM:

I'll try and FTP the files over.

Thanks.

_nate
 

Offline motrucker

Re: FFS Long filenames?
« Reply #3 on: October 23, 2011, 06:25:28 PM »
I would guess a limitation of Samba too. 30 characters seems a strange place to stop unless it is Samba. It sure isn't FFS.
A2000 GVP 40MHz \'030, 21Mb RAM SD/FF, 2 floppies, internal CD-ROM drive, micromys v3 w/laser mouse
A1000 Microbotics Starboard II w/2Mb 1080, & external floppy (AIRdrive)
C-128 w/1571, 1750, & Final Cartridge III+
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: FFS Long filenames?
« Reply #4 on: October 23, 2011, 06:44:27 PM »
FFS is limited to 30 char filenames.

If you want longer filenames then you need to install PFS3 which is free, fast, and supports the full 107 chars that AmigaOS allows.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: FFS Long filenames?
« Reply #5 on: October 23, 2011, 09:37:23 PM »
Quote from: ChaosLord;664728
FFS is limited to 30 char filenames.

If you want longer filenames then you need to install PFS3 which is free, fast, and supports the full 107 chars that AmigaOS allows.


OK, I have redone that drive with PFS3 and when I formatted it the drive and the PFS3 dialog came up, so I know the drive is now formatted PFS. Just to be sure,  I checked it in HDtoolbox and it shows FileSystem "Custom" Dostype PFS\03.

I still have the same issue. I have tried to copy these files via USB, FTP (via AmiTradeCenter) and SAMBA(using both CLI and GUI). All files get cut off at 30 characters.

What gives? I'm using 3.1 with ClassicWB ADV. It uses Scalos instead of Workbench. Is Scalos the issue?


thanks

_nate
 

Offline ognix

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 256
    • Show only replies by ognix
Re: FFS Long filenames?
« Reply #6 on: October 23, 2011, 09:37:42 PM »
Quote from: ChaosLord;664728

FFS is limited to 30 char filenames.

If you want longer filenames then you need to install PFS3 which is free, fast, and supports the full 107 chars that AmigaOS allows.


Yes, I think it's correct.
FFS is really limited to 30 characters: more than the PC DOS old style 8+3, but still not that much for big descriptions.

BY!
 

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: FFS Long filenames?
« Reply #7 on: October 23, 2011, 09:40:47 PM »
Quote from: ognix;664755
Yes, I think it's correct.
FFS is really limited to 30 characters: more than the PC DOS old style 8+3, but still not that much for big descriptions.

BY!



Is there a filesystem that does support over 30 characters? I tried PFS. No Dice...
 

Offline Matt_H

Re: FFS Long filenames?
« Reply #8 on: October 23, 2011, 09:43:13 PM »
SFS should. There's also FFS\07 from OS4 Classic which exists in 68K, but I could never get it working.
 

Offline Thomas

Re: FFS Long filenames?
« Reply #9 on: October 23, 2011, 09:45:28 PM »
Quote from: bbond007;664757
Is there a filesystem that does support over 30 characters? I tried PFS. No Dice...



RTFM!

Default setting is compatible to FFS. You can change this by shell commands.

Offline bbond007Topic starter

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: FFS Long filenames?
« Reply #10 on: October 23, 2011, 10:27:01 PM »
Quote from: Thomas;664759
RTFM!

Default setting is compatible to FFS. You can change this by shell commands.


oh. duh!

setfnsize

trying again...

I just hope I don't have filenames over 107 :)

thanks

_nate
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: FFS Long filenames?
« Reply #11 on: October 23, 2011, 10:30:53 PM »
Quote from: bbond007;664767

setfnsize


I recommend using the pfs format command and setting the file name size with it.
 

Offline number6

Re: FFS Long filenames?
« Reply #12 on: October 23, 2011, 10:36:38 PM »
Quote from: Thomas;664759
RTFM!

Default setting is compatible to FFS. You can change this by shell commands.



But the limit is still hard coded in programs like Magellan, afaik.
So not a fix-all.

#6
 

Offline Thomas

Re: FFS Long filenames?
« Reply #13 on: October 24, 2011, 08:08:58 AM »
Magellan is a bad example because it has an option for max. filename length. Older versions of DOpus might not. Workbench can be changed to long file names since 3.5 IIRC.

However, it's dangerous to set Workbench and the like to long file names and using a file system which cuts names off after 30 characters. For example let's imagine that "long_filename" becomes "long_file" and "long_filename.info" becomes "long_file", too, then the icon will overwrite the actual file. So be carefull to tell your copy program the real max. file name length the file system can handle.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: FFS Long filenames?
« Reply #14 on: October 24, 2011, 12:32:25 PM »
Quote from: matthey;664770
I recommend using the pfs format command and setting the file name size with it.

Why?