I’ve read somewhere that you need to put a special magic file in the root
directory for long filename support, but having searched the QDN knowledge
base and three likely qdn.public.* newsgroups, found nothing…
I have a zip file that contains a file whose name is 56 characters long.
I tried unzipping it on my 6.2.1 system, where the docs boldly claim:
Since the release of 6.2.1, the 48-character filename limit has
increased to 505 characters via a backwards-compatible extension. The
same on-disk format is retained, but new systems will see the longer
name, old ones will see a truncated 48-character name.
And yet, I can’t create the 56 character filename in “/tmp” (which is a
standard directory off of the /dev/hd0t79 disk).
Here’s the uname -a of the system:
QNX wintermute 6.2.1 2003/01/18-02:12:22est x86pc x86
–
[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/
I’ve never used it but I seem to remember that you need to:
touch .longfilenames
in the root directory of the mounted device.
Robert Krten <rk@parse.com> wrote:
RK > I’ve read somewhere that you need to put a special magic file in the root
RK > directory for long filename support, but having searched the QDN knowledge
RK > base and three likely qdn.public.* newsgroups, found nothing…
RK > I have a zip file that contains a file whose name is 56 characters long.
RK > I tried unzipping it on my 6.2.1 system, where the docs boldly claim:
RK > Since the release of 6.2.1, the 48-character filename limit has
RK > increased to 505 characters via a backwards-compatible extension. The
RK > same on-disk format is retained, but new systems will see the longer
RK > name, old ones will see a truncated 48-character name.
RK > And yet, I can’t create the 56 character filename in “/tmp” (which is a
RK > standard directory off of the /dev/hd0t79 disk).
RK > Here’s the uname -a of the system:
RK > QNX wintermute 6.2.1 2003/01/18-02:12:22est x86pc x86
RK > –
RK > [If replying via email, you’ll need to click on the URL that’s emailed to you
RK > afterwards to forward the email to me – spam filters and all that]
RK > Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/
–
Bill Caroselli – Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number qtps@earthlink.net
Robert Krten <rk@parse.com> wrote:
: I’ve read somewhere that you need to put a special magic file in the root
: directory for long filename support, but having searched the QDN knowledge
: base and three likely qdn.public.* newsgroups, found nothing…
Here’s the relevant section from the (in-progress) Neutrino User’s Guide:
The original QNX 4 filesystem supported filenames of no more than 48
characters long. Since the release of QNX Neutrino 6.2.1, this limit has
increased to 505 characters via a backwards-compatible extension.
The same on-disk format is retained; new systems see the longer
name, but old ones see a truncated 48-character name.
To enable support for long filenames on a new QNX 4 filesystem,
specify the -N option to dinit. To add long filename support to an
existing QNX 4 filesystem, login as root and create an empty,
read-only file named .longfilenames, owned by root in the root
directory of the filesystem:
cd <root_dir>
touch .longfilenames
chmod a=r .longfilenames
chown root:root .longfilenames
Note: After creating the .longfilenames file, you must restart the
filesystem for it to enable long filenames.
I hope this helps.
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
Robert Krten <> rk@parse.com> > wrote:
: I’ve read somewhere that you need to put a special magic file in the
root
: directory for long filename support, but having searched the QDN
knowledge
: base and three likely qdn.public.* newsgroups, found nothing…
Here’s the relevant section from the (in-progress) Neutrino User’s Guide:
The original QNX 4 filesystem supported filenames of no more than 48
characters long. Since the release of QNX Neutrino 6.2.1, this limit has
increased to 505 characters via a backwards-compatible extension.
The same on-disk format is retained; new systems see the longer
name, but old ones see a truncated 48-character name.
To enable support for long filenames on a new QNX 4 filesystem,
specify the -N option to dinit. To add long filename support to an
existing QNX 4 filesystem, login as root and create an empty,
read-only file named .longfilenames, owned by root in the root
directory of the filesystem:
One partition could have the feature enable and
another have it disable. Right?
cd <root_dir
touch .longfilenames
chmod a=r .longfilenames
chown root:root .longfilenames
Note: After creating the .longfilenames file, you must restart the
filesystem for it to enable long filenames.
I hope this helps.
Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
Robert Krten <> rk@parse.com> > wrote:
: I’ve read somewhere that you need to put a special magic file in the root
: directory for long filename support, but having searched the QDN knowledge
: base and three likely qdn.public.* newsgroups, found nothing…
Here’s the relevant section from the (in-progress) Neutrino User’s Guide:
The original QNX 4 filesystem supported filenames of no more than 48
characters long. Since the release of QNX Neutrino 6.2.1, this limit has
increased to 505 characters via a backwards-compatible extension.
The same on-disk format is retained; new systems see the longer
name, but old ones see a truncated 48-character name.
To enable support for long filenames on a new QNX 4 filesystem,
specify the -N option to dinit. To add long filename support to an
existing QNX 4 filesystem, login as root and create an empty,
read-only file named .longfilenames, owned by root in the root
directory of the filesystem:
cd <root_dir
touch .longfilenames
chmod a=r .longfilenames
chown root:root .longfilenames
Note: After creating the .longfilenames file, you must restart the
filesystem for it to enable long filenames.
I hope this helps.
Thanks (to you and Bill), worked perfectly
Cheers,
-RK
–
[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/
I’ve read somewhere that you need to put a special magic file in the root
directory for long filename support, but having searched the QDN knowledge
base and three likely qdn.public.* newsgroups, found nothing…
Have you tried the obvious, say, google for “qnx long filename”?
-N Enable support for long filenames (more than 48 characters) on this new
filesystem. To add long filename support to an existing QNX 4 compatible
filesystem: as root, create an empty, read-only file named .longfilenames
in the root directory of that filesystem.
To enable support for long filenames on a new QNX 4 filesystem,
specify the -N option to dinit. To add long filename support to an
existing QNX 4 filesystem, login as root and create an empty,
read-only file named .longfilenames, owned by root in the root
directory of the filesystem:
One partition could have the feature enable and
another have it disable. Right?