🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13216

Mg dired on gvp drive: List bug?

#13216
From: Donald P Perley
Date: Thu, 28 Dec 1989 20:56
47 lines
2071 bytes
I was never able  to get Mg2a's dired function (directory edit) to
work with my GVP hard card. I figured maybe it had something to 
do with the fast file system.  My Christmas present to myself was
to take enough time to go through the source code and try to find the
problem.

It turns out that mg executes the List command on the full path name
to get the directory listing.

The volume name is "DH0(20MB)", the default assigned by the
gvp formatting script.  Here is what happens when I do List
(outside of mg):


	8.RAM DISK:> list dh0(20mb):tempdir
	Directory "dh0(20mb):" on Thursday 28-Dec-89
	tempdir                      Dir ----rwed Today     09:18:57
	1 directory - 1 block used
	8.RAM DISK:>

But if I use the device name instead of the volume name I get this:

	8.RAM DISK:> list dh0:tempdir
	Directory "dh0:tempdir" on Thursday 28-Dec-89
	file1                         42 ----rwed Today     09:18:53
	file2                         71 ----rwed Today     09:19:15
	2 files - 4 blocks used
	8.RAM DISK:>

( the proper response)

So having those parens in there (I assume that's the problem) changes
it from something like "ls -l" to "ls -l -d" in unix terms.

The easy solution is to rename the volumes (which does make the problem
go away).  

But why is it doing this?  Are parentheses legal in a volume name?
If so, where do I send a bug report?

Whether "DH0(20MB)" is legal or not, I am sending GVP a note to 
suggest they change the default in the setup script and warn them in case
someone calls asking why some commands don't work with their hard drive.

-don perley
perley@trub.crd.ge.com
Technical Details
Message-ID: <10507@vdsvax.crd.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!crdgw1!vdsvax!trub

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!crdgw1!vdsvax!trub
From: perley@trub (Donald P Perley)
Newsgroups: comp.sys.amiga.tech
Subject: Mg dired on gvp drive: List bug?
Message-ID: <10507@vdsvax.crd.ge.com>
Date: 28 Dec 89 20:56:30 GMT
Sender: news@vdsvax.crd.ge.com
Reply-To: perley@trub.crd.ge.com (Donald P Perley)
Organization: GE Corp. R & D, Schenectady, NY 12345
Lines: 47