Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4817

Raspberry Pi OS • Re: /boot/config.txt symlink changed to file

$
0
0
i have heard of text editors not respecting the symlink
let me run some tests...
hmmm, none of the usual ones do it
The Sleep Pixies reminded me that the SD Card may be mounted on a Windows or Mac computer and editors for those may be the ones which don't fully respect symlinks.

But why make '/boot/config.txt' a dummy file rather than make '/boot/config.txt' the live file and delete '/boot/firmware/config.txt' ?

The Pi software has had to be updated to check if '/boot/firmware/config.txt' or '/boot/config.txt' should be used so why not change Pi software to check the symlink; if '/boot/config.txt' is a symlink, follow that, otherwise use it ?

If there's any worry about having both, the Pi can auto-delete or rename '/boot/firmware/config.txt' on boot if '/boot/config.txt' is not a symlink.

Or if '/boot/config.txt' isn't a symlink, copy that over '/boot/firmware/config.txt' and make '/boot/config.txt' a symlink again ?

It seems there are a number of options which would have been transparent to users but an option was chosen which isn't.

Statistics: Posted by hippy — Wed Jan 31, 2024 9:11 am



Viewing all articles
Browse latest Browse all 4817

Trending Articles