TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: BoonDock
from: Nelgin
date: 2021-02-23 14:41:00
subject: Re: File areas etc

BoonDock wrote:
> Hi,
> Firstly, I'm finding it extremely frustrating to be constrained to 8.3 for filenames. Is this something that is scheduled for change anytime in the future?

If you are using Linux there is a work around, as long as you're not on an
openvz platform.

You need to create a vfat file system so you'd do something like.

fallocate -l 10G /sbbs.vfat
mkfs.vfat /sbbs.vfat

Then add an entry to fstab

/sbbs.vfat /home/bbs/sbbs/data/dirs       vfat    uid=1000,gid=1000       0 0


Make sure you use the full path to your dirs directory and the uid gid of the
user that runs sbbs. 

Now stop sbbs and move your dirs directory out the way, assuming you have a
symlink to /sbbs otherwise use the full path.

mv /sbbs/data/dirs /sbbs/data/dirs.old

and make a new directory

mkdir /sbbs/data/dirs

and mount your new file system

mount /home/bbs/sbbs/data/dirs

Now copy your files back

cp -r /sbbs/data/dirs.old /sbbs/data/dirs

With any luck, you should be able to access files using both the LFN and SFN.

bbs@bbs:/sbbs/data/dirs/bbs/bbc/games/adventure$ file 'YukonG~1.zip'
YukonG~1.zip: Zip archive data, at least v2.0 to extract
bbs@bbs:/sbbs/data/dirs/bbs/bbc/games/adventure$ file YukonGold.zip
YukonGold.zip: Zip archive data, at least v2.0 to extract

In Linux you can use both the SFN and LFN to access the file. When imported
into sbbs, it'll still show you the SFN but will be able to access the file
anyway.

If this works, maybe you can write it up as a wiki for others to follow.

---
 þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
                            
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.