9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] /tmp dissappearance
       [not found] <CAM8pOuNE-CK41emPuCngMPRqye194i8C-tbDZRK0vSXZHfDe7Q@mail.gmail.c>
@ 2012-05-20 16:59 ` erik quanstrom
  2012-05-20 17:10   ` Burton Samograd
  0 siblings, 1 reply; 19+ messages in thread
From: erik quanstrom @ 2012-05-20 16:59 UTC (permalink / raw)
  To: 9fans

On Sun May 20 12:57:10 EDT 2012, burton.samograd@gmail.com wrote:
> I have no idea how, but my /tmp disappeared, making editing files with
> sam impossible.  I tried to bind -c $home/tmp /tmp but i get the complaint
> that the mounted directory doesn't allow creation.  Any advice?

temporarly, you could run ramfs.  but the real problem would
probablly be authentication.  what does /dev/user tell you?

- erik



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 16:59 ` [9fans] /tmp dissappearance erik quanstrom
@ 2012-05-20 17:10   ` Burton Samograd
  2012-05-20 17:15     ` Burton Samograd
  0 siblings, 1 reply; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 17:10 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> temporarly, you could run ramfs.  but the real problem would
> probablly be authentication.  what does /dev/user tell you?

/dev/user says the correct user.  I've tried logging in with both my
username and
glenda and both have the same problem.  When I try to mkdir /tmp as
it's completely
missing, i get the error with 'mounted directory forbids creation.'
The bind command
fails because /tmp is not there; I made a mistake with my original question.

--
Burton Samograd



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:10   ` Burton Samograd
@ 2012-05-20 17:15     ` Burton Samograd
  2012-05-20 17:21       ` andrew zerger
  2012-05-20 17:29       ` David du Colombier
  0 siblings, 2 replies; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 17:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I guess i'm looking for 'mount -o remount,rw /' or something
equivalent if that exists.

--
Burton Samograd



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:15     ` Burton Samograd
@ 2012-05-20 17:21       ` andrew zerger
  2012-05-20 17:31         ` Burton Samograd
  2012-05-20 17:29       ` David du Colombier
  1 sibling, 1 reply; 19+ messages in thread
From: andrew zerger @ 2012-05-20 17:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

Do you have a $home/tmp directory? If you were to do the equiv mount -o
remount command it would be to mount $home/tmp to /tmp, but Im not fluent
on the syntax.

On Sun, May 20, 2012 at 11:15 AM, Burton Samograd <burton.samograd@gmail.com
> wrote:

> I guess i'm looking for 'mount -o remount,rw /' or something
> equivalent if that exists.
>
> --
> Burton Samograd
>
>


-- 
⎼⎺⎺├@┼␊├├≤-␍⎼␊▒␍:/␤⎺└␊/⎼␤⎺#

[-- Attachment #2: Type: text/html, Size: 761 bytes --]

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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:15     ` Burton Samograd
  2012-05-20 17:21       ` andrew zerger
@ 2012-05-20 17:29       ` David du Colombier
  2012-05-20 18:04         ` Anthony Sorace
  2012-05-21  0:46         ` erik quanstrom
  1 sibling, 2 replies; 19+ messages in thread
From: David du Colombier @ 2012-05-20 17:29 UTC (permalink / raw)
  To: 9fans

If you were using Fossil, that would be:

echo fsys main create /tmp sys sys d775 >>/srv/fscons

I don't recall what is the exact equivalence on your
file system, but it should be something like:

create /tmp sys sys d775

in you file system console.

--
David du Colombier



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:21       ` andrew zerger
@ 2012-05-20 17:31         ` Burton Samograd
  0 siblings, 0 replies; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 17:31 UTC (permalink / raw)
  To: rhoyerboat, Fans of the OS Plan 9 from Bell Labs

On Sun, May 20, 2012 at 11:21 AM, andrew zerger <rhoyerboat@gmail.com> wrote:
> Do you have a $home/tmp directory? If you were to do the equiv mount -o
> remount command it would be to mount $home/tmp to /tmp, but Im not fluent on
> the syntax.

The bigger problem is that my /tmp is gone so I can't mount anything
there until I create it.

--
Burton Samograd



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:29       ` David du Colombier
@ 2012-05-20 18:04         ` Anthony Sorace
  2012-05-20 18:27           ` David du Colombier
  2012-05-20 20:34           ` steve
  2012-05-21  0:46         ` erik quanstrom
  1 sibling, 2 replies; 19+ messages in thread
From: Anthony Sorace @ 2012-05-20 18:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

On May 20, 2012, at 13:29 , David du Colombier wrote:

> echo fsys main create /tmp sys sys d775 >>/srv/fscons

turn that "/tmp" into "/active/tmp" i think, no?

also, for the original question: as a quick hack to get around
this, i believe you could run mntgen on / so that /tmp magically
shows up when you bind to it.

the "mounted directory forbids creation" sounds suspect, though.
trying to bind onto a non-existent target should yield a simple
"file does not exist".

and, of course, that doesn't address why it went away.
anthony


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

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

* Re: [9fans] /tmp dissappearance
  2012-05-20 18:04         ` Anthony Sorace
@ 2012-05-20 18:27           ` David du Colombier
  2012-05-20 20:34           ` steve
  1 sibling, 0 replies; 19+ messages in thread
From: David du Colombier @ 2012-05-20 18:27 UTC (permalink / raw)
  To: 9fans

> turn that "/tmp" into "/active/tmp" i think, no?

The "/active" part is not mandatory.
It assumes / is /active by default.

--
David du Colombier



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 18:04         ` Anthony Sorace
  2012-05-20 18:27           ` David du Colombier
@ 2012-05-20 20:34           ` steve
  1 sibling, 0 replies; 19+ messages in thread
From: steve @ 2012-05-20 20:34 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

a simpler way might be to:

    mount -c /srv/fossil /n/fossil
    mkdir /n/fossil/tmp

always assuming you are using fossil and you have write permission in /
which probably means you must be hostowner.

-Steve


On 20 May 2012, at 07:04 PM, Anthony Sorace <a@9srv.net> wrote:

> On May 20, 2012, at 13:29 , David du Colombier wrote:
>
>> echo fsys main create /tmp sys sys d775 >>/srv/fscons
>
> turn that "/tmp" into "/active/tmp" i think, no?
>
> also, for the original question: as a quick hack to get around
> this, i believe you could run mntgen on / so that /tmp magically
> shows up when you bind to it.
>
> the "mounted directory forbids creation" sounds suspect, though.
> trying to bind onto a non-existent target should yield a simple
> "file does not exist".
>
> and, of course, that doesn't address why it went away.
> anthony
>



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 17:29       ` David du Colombier
  2012-05-20 18:04         ` Anthony Sorace
@ 2012-05-21  0:46         ` erik quanstrom
  1 sibling, 0 replies; 19+ messages in thread
From: erik quanstrom @ 2012-05-21  0:46 UTC (permalink / raw)
  To: 9fans

> echo fsys main create /tmp sys sys d775 >>/srv/fscons
>
> I don't recall what is the exact equivalence on your
> file system, but it should be something like:
>
> create /tmp sys sys d775

create tmp sys sys 755 d

- erik



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 21:16       ` Burton Samograd
  2012-05-20 21:21         ` Burton Samograd
@ 2012-05-21  5:05         ` kokamoto
  1 sibling, 0 replies; 19+ messages in thread
From: kokamoto @ 2012-05-21  5:05 UTC (permalink / raw)
  To: 9fans

> For now, the following works for me:
>
>     mntgen /
>     bind -c $home/tmp /tmp

Ah, you are running diskless 9front machine?
If so, I might have this solution, too.
I'm not runnig diskless 9front machine now though...

Kenji




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

* Re: [9fans] /tmp dissappearance
  2012-05-20 21:21         ` Burton Samograd
  2012-05-20 21:33           ` Ethan Grammatikidis
@ 2012-05-20 21:42           ` cinap_lenrek
  1 sibling, 0 replies; 19+ messages in thread
From: cinap_lenrek @ 2012-05-20 21:42 UTC (permalink / raw)
  To: 9fans

term% ls -l /srv/cwfs.cmd
---w--w---- s 0 cinap_lenrek cinap_lenrek 0 May  5 10:27 /srv/cwfs.cmd

its write only. output of cwfs goes to /dev/cons (you can capture the
output with /dev/kmesg or /dev/kprint).

the runtime commands are described in fs(8). some commands apply only
to the stand alone kenfs (see fs(4)) filesystem (which cwfs is a port
of to plan9 userspace initialy done by geoff). the differencies are
documented in cwfs(4) manpage.

cwfs also has a config mode (when you start it with -c), then it also
reads from the console on startup until you end config mode with the
"end" command. the syntax for config mode is described in fsconfig(8).

--
cinap



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 21:21         ` Burton Samograd
@ 2012-05-20 21:33           ` Ethan Grammatikidis
  2012-05-20 21:42           ` cinap_lenrek
  1 sibling, 0 replies; 19+ messages in thread
From: Ethan Grammatikidis @ 2012-05-20 21:33 UTC (permalink / raw)
  To: 9fans

On Sun, 20 May 2012 15:21:48 -0600
Burton Samograd <burton.samograd@gmail.com> wrote:

> Another noob question; how do you start the fs console on cwfs64x?  I
> tried 'con /srv/cwfs.cmd'  but get nothing back.  The docs I can find
> all relate to fossil and which doesn't look to work the same.

I'm doing this today too. I found I have to type blind, I don't see the prompt or my typing until I press return. You might want to compose your commands in another window and paste. The commands are somewhat different to fossil, 'help' on the console gives a list with very terse explanations; I couldn't find a man page. The least clear command, 'duallow name' allows name to mount with rw permission.

I also don't see a chown or chgrp equivalent on the console (which might be my bad eyes), but after reading the previous thread I decided not to worry about it.



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 21:16       ` Burton Samograd
@ 2012-05-20 21:21         ` Burton Samograd
  2012-05-20 21:33           ` Ethan Grammatikidis
  2012-05-20 21:42           ` cinap_lenrek
  2012-05-21  5:05         ` kokamoto
  1 sibling, 2 replies; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 21:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Another noob question; how do you start the fs console on cwfs64x?  I
tried 'con /srv/cwfs.cmd'  but get nothing back.  The docs I can find
all relate to fossil and which doesn't look to work the same.

--
Burton Samograd



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 20:59     ` Charles Forsyth
@ 2012-05-20 21:16       ` Burton Samograd
  2012-05-20 21:21         ` Burton Samograd
  2012-05-21  5:05         ` kokamoto
  0 siblings, 2 replies; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 21:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

For now, the following works for me:

    mntgen /
    bind -c $home/tmp /tmp

I just added it to my lib/profile and everything is good now.

--
Burton Samograd



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

* Re: [9fans] /tmp dissappearance
  2012-05-20 20:49   ` andrew zerger
@ 2012-05-20 20:59     ` Charles Forsyth
  2012-05-20 21:16       ` Burton Samograd
  0 siblings, 1 reply; 19+ messages in thread
From: Charles Forsyth @ 2012-05-20 20:59 UTC (permalink / raw)
  To: rhoyerboat, Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

the hostowner might not have permission to write in / on the file system
(ie, it's not like unix's "root")
if you try the mount -c /srv/boot /n/boot method:
   h% mount -c /srv/boot /n/boot
   h% ls -ld /n/boot
   d-rwxrwxr-x M 62152 adm adm 0 Mar  2  2010 /n/boot
on my system, i'd need to be adm or someone in group adm. you can add
yourself to
group adm (perhaps not always wise, but i suppose sometimes it's
reasonable), but you need
to use the file system console for that as well.

that's why it's usually easier to create it via the console, as suggested.

On 20 May 2012 21:49, andrew zerger <rhoyerboat@gmail.com> wrote:

> Well, my hostowner user cant seem to fudge the /tmp either (not by any
> sane means such as unmount or rm)

[-- Attachment #2: Type: text/html, Size: 1138 bytes --]

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

* Re: [9fans] /tmp dissappearance
  2012-05-20 20:36 ` Rudolf Sykora
@ 2012-05-20 20:49   ` andrew zerger
  2012-05-20 20:59     ` Charles Forsyth
  0 siblings, 1 reply; 19+ messages in thread
From: andrew zerger @ 2012-05-20 20:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

Well, my hostowner user cant seem to fudge the /tmp either (not by any sane
means such as unmount or rm) if that might reveal anything (including
anything about my own installation, which is admittedly mostly neglected).
Im on qemu-kvm and bell's plan9.iso rather than anything 9front, however

(practical side of me wonders irresponsibly if a reboot would make the
issue go away)
(and why does everytime i get inspired on this OS the contrib directory
goes down and I can't browse? lol)

On Sun, May 20, 2012 at 2:36 PM, Rudolf Sykora <rudolf.sykora@gmail.com>wrote:

> On 20 May 2012 18:56, Burton Samograd <burton.samograd@gmail.com> wrote:
> > I have no idea how, but my /tmp disappeared, making editing files with
> > sam impossible.  I tried to bind -c $home/tmp /tmp but i get the
> complaint
> > that the mounted directory doesn't allow creation.  Any advice?
> >
> > --
> > Burton Samograd
> >
>
> Somewhat related thing might have also been discussed here:
>
>
> https://groups.google.com/group/comp.os.plan9/browse_thread/thread/2a2ef30c02d77067?pli=1
>
>


-- 
⎼⎺⎺├@┼␊├├≤-␍⎼␊▒␍:/␤⎺└␊/⎼␤⎺#

[-- Attachment #2: Type: text/html, Size: 1733 bytes --]

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

* Re: [9fans] /tmp dissappearance
  2012-05-20 16:56 Burton Samograd
@ 2012-05-20 20:36 ` Rudolf Sykora
  2012-05-20 20:49   ` andrew zerger
  0 siblings, 1 reply; 19+ messages in thread
From: Rudolf Sykora @ 2012-05-20 20:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 20 May 2012 18:56, Burton Samograd <burton.samograd@gmail.com> wrote:
> I have no idea how, but my /tmp disappeared, making editing files with
> sam impossible.  I tried to bind -c $home/tmp /tmp but i get the complaint
> that the mounted directory doesn't allow creation.  Any advice?
>
> --
> Burton Samograd
>

Somewhat related thing might have also been discussed here:

https://groups.google.com/group/comp.os.plan9/browse_thread/thread/2a2ef30c02d77067?pli=1



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

* [9fans] /tmp dissappearance
@ 2012-05-20 16:56 Burton Samograd
  2012-05-20 20:36 ` Rudolf Sykora
  0 siblings, 1 reply; 19+ messages in thread
From: Burton Samograd @ 2012-05-20 16:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I have no idea how, but my /tmp disappeared, making editing files with
sam impossible.  I tried to bind -c $home/tmp /tmp but i get the complaint
that the mounted directory doesn't allow creation.  Any advice?

--
Burton Samograd



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

end of thread, other threads:[~2012-05-21  5:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAM8pOuNE-CK41emPuCngMPRqye194i8C-tbDZRK0vSXZHfDe7Q@mail.gmail.c>
2012-05-20 16:59 ` [9fans] /tmp dissappearance erik quanstrom
2012-05-20 17:10   ` Burton Samograd
2012-05-20 17:15     ` Burton Samograd
2012-05-20 17:21       ` andrew zerger
2012-05-20 17:31         ` Burton Samograd
2012-05-20 17:29       ` David du Colombier
2012-05-20 18:04         ` Anthony Sorace
2012-05-20 18:27           ` David du Colombier
2012-05-20 20:34           ` steve
2012-05-21  0:46         ` erik quanstrom
2012-05-20 16:56 Burton Samograd
2012-05-20 20:36 ` Rudolf Sykora
2012-05-20 20:49   ` andrew zerger
2012-05-20 20:59     ` Charles Forsyth
2012-05-20 21:16       ` Burton Samograd
2012-05-20 21:21         ` Burton Samograd
2012-05-20 21:33           ` Ethan Grammatikidis
2012-05-20 21:42           ` cinap_lenrek
2012-05-21  5:05         ` kokamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).