48 character filename limits on RTP over Windows

A question to the collective:

I have RTP 6.1.0A installed on a machine that has MS Windows 98
underneath (i.e. the drive is really FAT32).

I noticed that I could not create files in /tmp/ with filenames
that are longer than 48 characters. A bit of research into the
Filesystems page of the helpviewer shows that filenames for dos
type partitions are 255 characters, but qnx4 filesystems are
limited to 48 characters. An excerpt from the mount command
shows that:

/net/hostname.delcoelect.com/fs/hd0-dos/Program
Files/qnx/boot/fs/root.qfs on / type qnx4

So / (and /tmp) are really mounted as qnx4 type filesystems–that
explains where the 48 character limit came in.

Now for the question: Why did QNX choose to use qnx4 as the native
file system for this type of installation? Why not just use fs-dos
or one of the other file system types that allows considerably
more flexibility with respect to filename lengths?

\

Phil Kelly
Delphi Delco Electronic Systems
Embedded Computing Technologies Phone (765) 451-7743
Internet: pwkelly@eng.delcoelect.com Kokomo, Indiana, USA

Hi Phil,

I am by no means the decider on this, but if I were to guess,
I would say it was done for speed purposes and file permissions.

Under the fs-dos filesystem you can’t have file permissions
which would probably cause a bit of confusion with things.

Once again, this is just a guess.

Erick.


Phil Kelly <pwkelly@eng.delcoelect.com> wrote:

A question to the collective:

I have RTP 6.1.0A installed on a machine that has MS Windows 98
underneath (i.e. the drive is really FAT32).

I noticed that I could not create files in /tmp/ with filenames
that are longer than 48 characters. A bit of research into the
Filesystems page of the helpviewer shows that filenames for dos
type partitions are 255 characters, but qnx4 filesystems are
limited to 48 characters. An excerpt from the mount command
shows that:

/net/hostname.delcoelect.com/fs/hd0-dos/Program
Files/qnx/boot/fs/root.qfs on / type qnx4

So / (and /tmp) are really mounted as qnx4 type filesystems–that
explains where the 48 character limit came in.

Now for the question: Why did QNX choose to use qnx4 as the native
file system for this type of installation? Why not just use fs-dos
or one of the other file system types that allows considerably
more flexibility with respect to filename lengths?


Phil Kelly
Delphi Delco Electronic Systems
Embedded Computing Technologies Phone (765) 451-7743
Internet: > pwkelly@eng.delcoelect.com > Kokomo, Indiana, USA

Erick in the Hardware Support Account wrote:

I am by no means the decider on this, but if I were to guess,
I would say it was done for speed purposes and file permissions.

Under the fs-dos filesystem you can’t have file permissions
which would probably cause a bit of confusion with things.

That makes some sense, but I guess I was thinking that with the new OS,
there might be a better “default” filesystem. I was hoping maybe ext2,
since RTP is moving toward some of the same things that linux is doing.

What is the native filesystem on a “raw” RTP/x86 install?



\

Phil Kelly
Delphi Delco Electronic Systems
Embedded Computing Technologies Phone (765) 451-7743
Internet: pwkelly@eng.delcoelect.com Kokomo, Indiana, USA

“Phil Kelly” <pwkelly@eng.delcoelect.com> wrote in message
news:3C150A2B.7030101@eng.delcoelect.com

Erick in the Hardware Support Account wrote:

I am by no means the decider on this, but if I were to guess,
I would say it was done for speed purposes and file permissions.

Under the fs-dos filesystem you can’t have file permissions
which would probably cause a bit of confusion with things.



That makes some sense, but I guess I was thinking that with the new OS,
there might be a better “default” filesystem. I was hoping maybe ext2,
since RTP is moving toward some of the same things that linux is doing.

What is the native filesystem on a “raw” RTP/x86 install?

QNX4 (i’m not sure if the filesystem it’s own name)


Phil Kelly
Delphi Delco Electronic Systems
Embedded Computing Technologies Phone (765) 451-7743
Internet: > pwkelly@eng.delcoelect.com > Kokomo, Indiana, USA