Python Forum
i want to rewrite logcmd into python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i want to rewrite logcmd into python
#10
(Feb-20-2017, 05:50 AM)wavic Wrote: Hah! I just read about it. Is it possible new_root to be a remote directory mounted somewhere on the local file system ?  Big Grin
new_root must already be mounted, be a type supported as root (most filesystem types are), and have a place for put_old to end up.  so, yes!  but then, anything not under new_root cannot be accessed.  and it only affects the process it is executed in.

i ran across someone mentioned that there existed a way to call a dynamic library symbol (name) after the library was loaded.  "pivot_root" is in libc.

if you are wanting to mount a network filesystem as root ... it is done in lots of places.  i did it (in c) in the cable set top boxes i worked on.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
i want to rewrite logcmd into python - by Skaperen - Feb-18-2017, 06:29 AM
RE: i want to rewrite logcmd into python - by wavic - Feb-19-2017, 07:16 AM
RE: i want to rewrite logcmd into python - by wavic - Feb-19-2017, 11:55 AM
RE: i want to rewrite logcmd into python - by wavic - Feb-20-2017, 05:50 AM
RE: i want to rewrite logcmd into python - by Skaperen - Feb-20-2017, 06:49 AM
RE: i want to rewrite logcmd into python - by wavic - Feb-20-2017, 07:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  i want to rewrite tarnet into python Skaperen 11 10,100 Feb-21-2017, 03:47 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020