9 Apr 2009 16:59
9 Apr 2009 17:30
RE: mounting host fs
>In hosted Inferno, how does one mount the host os's filesystem? I'm
>looking for a /mnt/term like thing.
acme-sac does this quite nicely (from /lib/sh/profile):
if {~ $emuhost MacOSX}{
trfs '#U*' /n/local >[2] /dev/null
ghome=`{echo 'echo $HOME' | os sh}
lhome=/n/local/^$ghome^/acme-home
}{~ $emuhost Linux}{
trfs '#U*' /n/local >[2] /dev/null
ghome=`{echo 'echo $HOME' | os sh}
lhome=/n/local/^$ghome^/acme-home
}{~ $emuhost Nt}{
for i in C D { # add more drive letters to suit
trfs '#U' ^ $i ^ ':/' /n/$i >[2] /dev/null
}
You end up with the host's filesystem on /n/...
-Ben
9 Apr 2009 17:24
Re: mounting host fs
'#U' - for infernoroot in host namespace '#U*' - for the root of the host namespace -eric On Thu, Apr 9, 2009 at 9:59 AM, Sam Hopkins <s.a.hopkins@...> wrote: > Hello, > > In hosted Inferno, how does one mount the host os's filesystem? I'm > looking for a /mnt/term like thing. > > Cheers, > > Sam >
9 Apr 2009 18:12
Re: mounting host fs
Heh, 4 responses in under an hour! Thanks all, fs(3) was what I was hunting. Sam On Thu, Apr 9, 2009 at 11:24 AM, Eric Van Hensbergen <ericvh@...> wrote: > '#U' - for infernoroot in host namespace > '#U*' - for the root of the host namespace > > -eric > > > On Thu, Apr 9, 2009 at 9:59 AM, Sam Hopkins <s.a.hopkins@...> wrote: >> Hello, >> >> In hosted Inferno, how does one mount the host os's filesystem? I'm >> looking for a /mnt/term like thing. >> >> Cheers, >> >> Sam >> >
9 Apr 2009 17:18
Re: mounting host fs
On Thu, Apr 09, 2009 at 10:59:39AM -0400, Sam Hopkins wrote: > Hello, > > In hosted Inferno, how does one mount the host os's filesystem? I'm > looking for a /mnt/term like thing. cd '#U*' http://www.vitanuova.com/inferno/man/3/fs.html mjl
RSS Feed