NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/53553: gpt biosboot forcibly prepends /usr/mdec to any other paht



Robert Elz writes:
- The following reply was made to PR bin/53553; it has been noted by GNATS.
-
- From: Robert Elz <kre%munnari.OZ.AU@localhost>
- To: gnats-bugs%NetBSD.org@localhost
- Cc: 
- Subject: Re: bin/53553: gpt biosboot forcibly prepends /usr/mdec to any oth
- er paht
- Date: Sun, 26 Aug 2018 07:05:56 +0700
-
-      Date:        Sat, 25 Aug 2018 22:20:00 +0000 (UTC)
-      From:        eric%cirr.com@localhost
-      Message-ID:  <20180825222000.986E47A111%mollari.NetBSD.org@localhost>
-  
-    | 	It seems that gpt is forcibly prepending '/usr/mdec' on
-    | 	any path that has a directory seperator in it?  Or any file
-    | 	that is not in the current working directory?
-  
-  It uses /usr/mdec for any name that isn't a full path name.   I'm guessing
-  that when you did the later tests you still have gptmbr.bin installed in
-  /usr/mdec - it would have been using that one.

It may well have been taking it from the wrwong place when I was
attempting from the current directory.  I'll acknowledge I
didn't verify that well enough.

-    | 	Work-around: move to the same directory as the biosboot image file.
-  
-  Use a full path name if you want to get the file from elsewhere.

I would have sworn I tried that and got an error.  But I didn't.

-  Whether it could allow more flexibility (not prepend /usr/mdec if the name
-  starts ./ or ../ as well as /) is someone else's decision, but at the very
-  least the man page needs improvement.

Yes, please.  If I get bored after getting this problem machine
to boot, I'll look into that.

Thanks,	
	Eric

--
Eric Schnoebelen		eric%cirr.com@localhost 		http://www.cirr.com
      Whenever people agree with me I always feel I must be wrong.
			   -- Oscar Wilde


Home | Main Index | Thread Index | Old Index