Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  switch_root...
@ 2009-06-04 14:31 nickich
  2009-06-04 14:36 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: nickich @ 2009-06-04 14:31 UTC (permalink / raw)
  To: buildroot


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

-- 
View this message in context: http://www.nabble.com/switch_root...-tp23869987p23869987.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] switch_root...
  2009-06-04 14:31 [Buildroot] switch_root nickich
@ 2009-06-04 14:36 ` Peter Korsgaard
  2009-06-04 14:40   ` nickich
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2009-06-04 14:36 UTC (permalink / raw)
  To: buildroot

>>>>> "nickich" == nickich  <nickich@abv.bg> 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).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] switch_root...
  2009-06-04 14:36 ` Peter Korsgaard
@ 2009-06-04 14:40   ` nickich
  0 siblings, 0 replies; 3+ messages in thread
From: nickich @ 2009-06-04 14:40 UTC (permalink / raw)
  To: buildroot




Peter Korsgaard-3 wrote:
> 
>>>>>> "nickich" == nickich  <nickich@abv.bg> 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).
> 
> -- 
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> 

Yes, I mean busybox.
Thanks!
-- 
View this message in context: http://www.nabble.com/switch_root...-tp23869987p23871331.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-04 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 14:31 [Buildroot] switch_root nickich
2009-06-04 14:36 ` Peter Korsgaard
2009-06-04 14:40   ` nickich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox