Any update on the above question. On Thu, Aug 4, 2016 at 2:29 PM, Krishnaprasad A S <[email protected] > wrote:
> Thanks for your reply. > Could you please let me know how to bundle some packages with OSv like > 'ls' command (list), for running my OSv java application. > > Thanks, > Krishnaprasad > > On Wed, Aug 3, 2016 at 7:49 PM, Nadav Har'El <[email protected]> wrote: > >> >> On Wed, Aug 3, 2016 at 12:54 PM, <[email protected]> wrote: >> >>> Hi Team , >>> I'm trying to port a Java Project to OSv. >>> PFB some doubts, >>> how can I pre create a directory structure in OSv, before starting my >>> OSv App, so that the App can use this directory for storing data and >>> writing logs. ? >>> >> >> Sounds like all you need to do is to create an empty directory, and OSv >> will write to it (the question is how you'll get the logs out of there is a >> separate question :-)). >> To create this empty directory, if you're using capstan, I guess all you >> need to do is to create an empty directory in the capstan directory. >> Someone more versed than me in Capstan can probably give abetter answer >> here. >> >> >>> If I'm using slf4j for application logging purpose then how can it be >>> written on OSv file system. ? >>> >> >> Wouldn't this work just the same as in Linux? >> >> How to create a user in OSv for my java application to run other than >>> default osv user. ? >>> >> >> You can't, and shouldn't. The whole point of OSv is to run a single >> application. The entire application runs in the same memory space, and it >> makes little sense to divide the different threads into separate "users". >> >> For this reason OSv doesn't support setuid(n) for n!=0. >> >> On files, we do support different userids, but what exactly that should >> do is unclear (see https://github.com/cloudius-systems/osv/issues/593). >> >> Nadav. >> > > > > -- > Krishnaprasad A S > Lead Engineer > Flytxt > Skype: krishnaprasadas > M: +91 8907209454 | O: +91 471.3082753 | F: +91 471.2700202 > www.flytxt.com | Visit our blog <http://blog.flytxt.com/> | Follow us > <http://www.twitter.com/flytxt> | Connect on LinkedIn > <http://www.linkedin.com/company/22166?goback=%2Efcs_GLHD_flytxt_false_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&trk=ncsrch_hits> > -- Krishnaprasad A S Lead Engineer Flytxt Skype: krishnaprasadas M: +91 8907209454 | O: +91 471.3082753 | F: +91 471.2700202 www.flytxt.com | Visit our blog <http://blog.flytxt.com/> | Follow us <http://www.twitter.com/flytxt> | Connect on LinkedIn <http://www.linkedin.com/company/22166?goback=%2Efcs_GLHD_flytxt_false_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&trk=ncsrch_hits> -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
