switch_root...
Hi,
When I use switch_root I have an error "not rootfs", which comes from the condition !S_ISREG(st1.st_mode). When I remove this condition, all seems to work fine (or at least I think so).
What is this check for?
Can it be removed safely?
What's wrong with my system to break here?
Regards,
Nikolay
Signature · 2 lines
View this message in context: http://www.nabble.com/switch_root...-tp23869987p23869987.html Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"nickich" == nickich <[email protected]> writes:
nickich> Hi,
nickich> When I use switch_root I have an error "not rootfs", which nickich> comes from the condition !S_ISREG(st1.st_mode). When I nickich> remove this condition, all seems to work fine (or at least I nickich> think so).
nickich> What is this check for?
nickich> Can it be removed safely?
nickich> What's wrong with my system to break here?
Are you talking about the busybox switch_root applet? If so, then better ask on the busybox list (busybox at busybox.net).
Signature · 1 line
Bye, Peter Korsgaard
Quoted 10 lines · Peter Korsgaard-3 wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"nickich" == nickich <[email protected]> writes:
nickich> Hi,
nickich> When I use
switch_rootI have an error "not rootfs", which nickich> comes from the condition !S_ISREG(st1.st_mode). When I nickich> remove this condition, all seems to work fine (or at least I nickich> think so).
Quoted 15 lines
nickich> What is this check for?
nickich> Can it be removed safely?
nickich> What's wrong with my system to break here?Are you talking about the busybox
switch_rootapplet? If so, then better ask on the busybox list (busybox at busybox.net).Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Yes, I mean busybox.
Thanks!
Signature · 2 lines
View this message in context: http://www.nabble.com/switch_root...-tp23869987p23871331.html Sent from the Buildroot (busybox) mailing list archive at Nabble.com.