View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Fri Mar 15, 2024 11:55 am Post subject: busybox segfailts on initramfs script but not in shell |
|
|
Greetings,
I've wrote a custom init script for my initramfs, in it I call a statically compiled version of blkid (I need PARTUUID and busybox's blkid doesn't supports it)
to find the boot partition, when I run blkid as part of the init script, I get segfault, but when I drop to shell (save one as the script is running inside, all goes well.
busybox's blkid works inside the shell but lacks partuuid support
any ideas what it can be? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Mon Mar 18, 2024 9:10 pm Post subject: |
|
|
DaggyStyle,
How did you build a static blkid? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|