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
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 other 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.
| 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.
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.
kre
Home |
Main Index |
Thread Index |
Old Index