TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: NELGIN
from: DIGITAL MAN
date: 2020-05-11 14:38:00
subject: Addfiles difference betwe

  Re: Addfiles difference between linux & windows
  By: Nelgin to Digital Man on Mon May 11 2020 03:03 pm

 >   Re: Addfiles difference between linux & windows
 >   By: Digital Man to Nelgin on Mon May 11 2020 10:18:07
 >
 >  > Yes. Synchronet doesn't actually store LFN's, so it requires an OS API to
 >  > translate between and short and long filenames. *nix OSes don't have such
 >  > an API.
 >
 > I was hopeful that the kernel would take care of that on the linux side too,
 > since I can write a long filename and then read it by the short filename
 > using regular unix commands.

There's no unix command (or standard API) to say "give me the short name of
this file".

 >  > addfiles would have to call an OS function to get the short filenames. I
 >  > know of no such API/function for Linux.
 >
 > Would anything out of https://github.com/torvalds/linux/tree/master/fs/fat
 > be useful? There's stuff about long and short filename conversion in there.
 >
 > Not sure if there's anything I can provide to help?

Looking at the mdir source now. I suppose you could play with mdir a bit. I
don't have any vfat partitions mounted, so I can't immediately play with it.

                                            digital man

This Is Spinal Tap quote #2:
Nigel Tufnel: Well, this piece is called "Lick My Love Pump".
Norco, CA WX: 75.9øF, 43.0% humidity, 6 mph NW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.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™.