Subject: port-atari/6576: Problem with GEMDOS filenames containing '+'
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@seki.bernstein.com>
List: netbsd-bugs
Date: 12/13/1998 10:08:09
>Number:         6576
>Category:       port-atari
>Synopsis:       Problem with GEMDOS filenames containing '+'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 13 11:20:01 1998
>Last-Modified:
>Originator:     maximum entropy
>Organization:
	
>Release:        <NetBSD-current source date> -current 19981209
>Environment:
	
System: NetBSD seki.bernstein.com 1.3I NetBSD 1.3I (SEKI) #5: Wed Dec 9 02:11:17 EST 1998 entropy@seki.bernstein.com:/usr2/src/sys/arch/atari/compile/SEKI atari


>Description:
	
Under TOS I can create files containing the character '+' in the filename.
When the GEMDOS partition is mounted under NetBSD, I cannot access those
files.  Since my GEMDOS partition contains 3 files with '+' in the name,
I can't use NetBSD to backup my GEMDOS partition to tape.  The backup works
for all other files, but filenames containing '+' are skipped.

>How-To-Repeat:
	

Script started on Sun Dec 13 09:42:28 1998
seki# mount
/dev/sd0a on / type ffs (local)
/dev/sd0f on /usr type ffs (local)
mfs:87 on /tmp type mfs (asynchronous, local)
/dev/sd0d on /c type msdos (local)
/dev/sd1c on /usr2 type ffs (local)
tardis:/usr/pkgsrc on /usr/pkgsrc type nfs
seki# cat fstab
/dev/sd0a / ffs rw 1 1
/dev/sd0b none swap sw 0 0
/dev/sd0b /tmp mfs rw,-s=65536 0 0
/dev/sd0f /usr ffs rw 1 2
/dev/sd0d /c msdos rw,-G 0 0
/dev/sd1c /usr2 ffs rw 1 2
/dev/cd0a /cdrom cd9660 ro,noauto 0 0
tardis:/usr/pkgsrc /usr/pkgsrc nfs rw,soft,bg,noauto 0 0
seki# cd /c
seki# ls
archives     comm         gulam        netbsd       protect.acc  util
auto         control.acx  gulam.g      newdesk.inf  quickprt.acc xcontrol.acc
buttnfix.acx control.inf  iconedit.rsc nohog.acx    save         zooboy.dat
calc.acx     cpx          local        paula.acc    shdriver.sys zooboy.rsc
calc.rsc     g+mini.acx   maxidisk.inf pc_help.acx  sound
callfsel.acc g+plus.acx   midi         pc_help.inf  sysdoc
clipbrd      graphics     mint         pinhead.dat  tmp
seki# echo *
archives auto buttnfix.acx calc.acx calc.rsc callfsel.acc clipbrd comm control.acx control.inf cpx graphics gulam gulam.g iconedit.rsc local maxidisk.inf midi mint netbsd newdesk.inf nohog.acx paula.acc pc_help.acx pc_help.inf pinhead.dat protect.acc quickprt.acc save shdriver.sys sound sysdoc tmp util xcontrol.acc zooboy.dat zooboy.rsc
seki# ls -l
ls: g+mini.acx: No such file or directory
ls: g+plus.acx: No such file or directory
total 440
drwxr-xr-x  1 root  wheel   8192 Aug 19 13:13 archives
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 auto
-rwxr-xr-x  1 root  wheel    390 Apr  5  1989 buttnfix.acx
-rwxr-xr-x  1 root  wheel  34455 Apr  5  1989 calc.acx
-rwxr-xr-x  1 root  wheel   5817 Apr  5  1989 calc.rsc
-rwxr-xr-x  1 root  wheel    740 Apr  5  1989 callfsel.acc
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 clipbrd
drwxr-xr-x  1 root  wheel   8192 Aug 19 13:26 comm
-rwxr-xr-x  1 root  wheel  20150 Apr  5  1989 control.acx
-rwxr-xr-x  1 root  wheel     24 Mar 20  1994 control.inf
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 cpx
drwxr-xr-x  1 root  wheel   8192 Aug 19 13:29 graphics
drwxr-xr-x  1 root  wheel   8192 Dec 17  1997 gulam
-rwxr-xr-x  1 root  wheel     21 Apr  5  1989 gulam.g
-rwxr-xr-x  1 root  wheel  14102 Apr  5  1989 iconedit.rsc
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 local
-rwxr-xr-x  1 root  wheel     32 Apr  5  1989 maxidisk.inf
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 midi
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 mint
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 netbsd
-rwxr-xr-x  1 root  wheel    792 Dec  1  1997 newdesk.inf
-rwxr-xr-x  1 root  wheel   1945 Dec  9  1996 nohog.acx
-rwxr-xr-x  1 root  wheel  28331 Aug 16  1993 paula.acc
-rwxr-xr-x  1 root  wheel  22784 Jan 13  1993 pc_help.acx
-rwxr-xr-x  1 root  wheel     20 Jan 13  1993 pc_help.inf
-rwxr-xr-x  1 root  wheel     69 Dec 16  1996 pinhead.dat
-rwxr-xr-x  1 root  wheel   6207 Apr  5  1989 protect.acc
-rwxr-xr-x  1 root  wheel   7506 Apr  5  1989 quickprt.acc
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 save
-rwxr-xr-x  1 root  wheel  13177 Nov 27  1997 shdriver.sys
drwxr-xr-x  1 root  wheel   8192 Aug 19 13:22 sound
drwxr-xr-x  1 root  wheel   8192 Dec  1  1997 sysdoc
drwxr-xr-x  1 root  wheel   8192 Nov 27  1997 tmp
drwxr-xr-x  1 root  wheel   8192 Aug 19 13:15 util
-rwxr-xr-x  1 root  wheel  41125 Nov 12  1993 xcontrol.acc
-rwxr-xr-x  1 root  wheel    480 Apr  5  1989 zooboy.dat
-rwxr-xr-x  1 root  wheel   5454 Apr  5  1989 zooboy.rsc
seki# cat 'g+mini.acx'
cat: g+mini.acx: No such file or directory
seki# cat 'g+plus.acx'
cat: g+plus.acx: No such file or directory
seki# cat 'maxidisk.inf'
300 M
COPY.TTP C:\CPY2RDSK M:
seki# 
Script done on Sun Dec 13 09:44:11 1998

>Fix:
	
Don't know.

>Audit-Trail:
>Unformatted:
GEMDOS filenames containing the character '+' cannot be accessed.