Re: Prerequisites for chdir at Init() time.

2019-08-21 Thread Jonathan Brandmeyer
On Wed, Aug 21, 2019 at 2:01 PM Joel Sherrill wrote: > Without involving the shell, do you have a simple test case for this? > > --joel > It seems like libtests/tar01 should be exercising this behavior already. Would using POSIX_Init() have any effect? -- Jonathan Brandmeyer

Re: Prerequisites for chdir at Init() time.

2019-08-21 Thread Joel Sherrill
On Wed, Aug 21, 2019 at 2:34 PM Jonathan Brandmeyer wrote: > > Are there any special pre-requsites to using the chdir system call > effectively in RTEMS? > > I've got a function which unpacks a tarred up filesystem by chdir into > a chosen directory, unpacking the filesystem, and then chdir() back

Prerequisites for chdir at Init() time.

2019-08-21 Thread Jonathan Brandmeyer
Are there any special pre-requsites to using the chdir system call effectively in RTEMS? I've got a function which unpacks a tarred up filesystem by chdir into a chosen directory, unpacking the filesystem, and then chdir() back to "/". If I call this function from the RTEMS shell, everything beha