On Thu, Jun 13, 2024, 15:06 Walter Dnes <[email protected]> wrote:

I dove into my download with mc, and it's actually a webpage with some
> binary listing!  No wonder it didn't work.  I tried different websites
> and got a 62768 byte file.  I switched from Pale Moon (a Firefox fork) to
> Google Chrome for linux... 62768 bytes.  Even wget got me a 62768 byte
> file.  What's going on???
>

Some file repositories have misleading URLs.

Try going to https://github.com/torvalds/linux, right-clicking on
".gitignore" and clicking "Copy link" or "Save link as...". If you copied
the link, you would've gotten "
https://github.com/torvalds/linux/blob/master/.gitignore";. If you chose to
save it, your browser would've downloaded a file called ".gitignore". Seems
innocuous enough.

What you actually get is just a web page. The actual file is often
accessible from a link labeled "Raw", which leads to the actual file (at
https://raw.githubusercontent.com/torvalds/linux/master/.gitignore in this
case).

By the way, you should really just use the linux-firmware package if it has
the firmware you need. You can plug the name of the firmware into
https://portagefilelist.de to check if it does.

>

Reply via email to