9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] create /home
@ 2010-03-15 23:14 Rudolf Sykora
  2010-03-15 23:20 ` andrey mirtchovski
  2010-03-15 23:23 ` erik quanstrom
  0 siblings, 2 replies; 9+ messages in thread
From: Rudolf Sykora @ 2010-03-15 23:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

I'd like to create a directory /home and then bind it to /usr.
(This is because I want some paths from linux that start with /home
were valid paths in my plan 9, too.)

However, I can't create a directory in my / --- when writing 'mkdir
/home' I get the message

mkdir: can't create /home: '/home' mounted directory forbids creation

I remember I was once solving this problem and if I am not wrong, it
was related to the fact that '/' is an union directory and there was
no directory bound to '/' with creation allowed. But somehow I now
don't know where and what I should change, so that I can create a
directory in '/'... I tried to change
the information in /lib/namespace, which in my case starts with

mount -aC #s/boot /root $rootspec
bind -a $rootdir /

to either 'mount -acC' ... or 'bind -ac', but the former seems to not
help and the latter results in no ability to boot afterwards...
(this was just a try, I don't really know what's really going on...)

Can anybody help?
Thanks!
Ruda



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

* Re: [9fans] create /home
  2010-03-15 23:14 [9fans] create /home Rudolf Sykora
@ 2010-03-15 23:20 ` andrey mirtchovski
  2010-03-15 23:26   ` Rudolf Sykora
  2010-03-15 23:23 ` erik quanstrom
  1 sibling, 1 reply; 9+ messages in thread
From: andrey mirtchovski @ 2010-03-15 23:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

mkdir /root/home



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

* Re: [9fans] create /home
  2010-03-15 23:14 [9fans] create /home Rudolf Sykora
  2010-03-15 23:20 ` andrey mirtchovski
@ 2010-03-15 23:23 ` erik quanstrom
  2010-03-15 23:51   ` Rudolf Sykora
  1 sibling, 1 reply; 9+ messages in thread
From: erik quanstrom @ 2010-03-15 23:23 UTC (permalink / raw)
  To: 9fans

> I'd like to create a directory /home and then bind it to /usr.
> (This is because I want some paths from linux that start with /home
> were valid paths in my plan 9, too.)

i just created my home directory in /usr on linux to solve this problem.

> However, I can't create a directory in my / --- when writing 'mkdir
> /home' I get the message
>
> mkdir: can't create /home: '/home' mounted directory forbids creation

option a: remount with -c option.  requires permission to
scribble on /.
	mount -c /srv/boot /n/boot
	mkdir /n/boot/home

option b: use fossil / ken fs console
	filsys main
	create home uid gid 755d
	create home uid gid 755 d 	# kenfs

- erik



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

* Re: [9fans] create /home
  2010-03-15 23:20 ` andrey mirtchovski
@ 2010-03-15 23:26   ` Rudolf Sykora
  2010-03-15 23:43     ` Federico G. Benavento
  2010-03-15 23:47     ` andrey mirtchovski
  0 siblings, 2 replies; 9+ messages in thread
From: Rudolf Sykora @ 2010-03-15 23:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 16 March 2010 00:20, andrey mirtchovski <mirtchovski@gmail.com> wrote:
> mkdir /root/home

Just this results in the same/similar:

mkdir: can't create /root/home: '/root/home' mounted directory forbids creation

Thanks
Ruda



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

* Re: [9fans] create /home
  2010-03-15 23:26   ` Rudolf Sykora
@ 2010-03-15 23:43     ` Federico G. Benavento
  2010-03-15 23:55       ` Rudolf Sykora
  2010-03-15 23:47     ` andrey mirtchovski
  1 sibling, 1 reply; 9+ messages in thread
From: Federico G. Benavento @ 2010-03-15 23:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

or you could just...

; aux/stub -d /home
; bind /usr /home

...

On Mon, Mar 15, 2010 at 8:26 PM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> On 16 March 2010 00:20, andrey mirtchovski <mirtchovski@gmail.com> wrote:
>> mkdir /root/home
>
> Just this results in the same/similar:
>
> mkdir: can't create /root/home: '/root/home' mounted directory forbids creation
>
> Thanks
> Ruda
>
>



--
Federico G. Benavento



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

* Re: [9fans] create /home
  2010-03-15 23:26   ` Rudolf Sykora
  2010-03-15 23:43     ` Federico G. Benavento
@ 2010-03-15 23:47     ` andrey mirtchovski
  1 sibling, 0 replies; 9+ messages in thread
From: andrey mirtchovski @ 2010-03-15 23:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

what erik said, then :)

On Mon, Mar 15, 2010 at 5:26 PM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> On 16 March 2010 00:20, andrey mirtchovski <mirtchovski@gmail.com> wrote:
>> mkdir /root/home
>
> Just this results in the same/similar:
>
> mkdir: can't create /root/home: '/root/home' mounted directory forbids creation
>
> Thanks
> Ruda
>
>



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

* Re: [9fans] create /home
  2010-03-15 23:23 ` erik quanstrom
@ 2010-03-15 23:51   ` Rudolf Sykora
  2010-03-16  0:31     ` Federico G. Benavento
  0 siblings, 1 reply; 9+ messages in thread
From: Rudolf Sykora @ 2010-03-15 23:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> i just created my home directory in /usr on linux to solve this problem.

That's not enough if the linux filesystem is given


> option a: remount with -c option.  requires permission to
> scribble on /.
>        mount -c /srv/boot /n/boot
>        mkdir /n/boot/home

I bumbed into permission problems...

> option b: use fossil / ken fs console
>        filsys main
>        create home uid gid 755d
>        create home uid gid 755 d       # kenfs

I finally did this:

con -l /srv/fscons
at the prompt wrote fsys main
wrote create home ruda ruda 755
ctrl-\
q

but I can't see any /home ...
I didn't write 755d because it didn't like that...

Ruda



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

* Re: [9fans] create /home
  2010-03-15 23:43     ` Federico G. Benavento
@ 2010-03-15 23:55       ` Rudolf Sykora
  0 siblings, 0 replies; 9+ messages in thread
From: Rudolf Sykora @ 2010-03-15 23:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 16 March 2010 00:43, Federico G. Benavento <benavento@gmail.com> wrote:
> or you could just...
>
> ; aux/stub -d /home
> ; bind /usr /home

this works.
Thanks!
Ruda



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

* Re: [9fans] create /home
  2010-03-15 23:51   ` Rudolf Sykora
@ 2010-03-16  0:31     ` Federico G. Benavento
  0 siblings, 0 replies; 9+ messages in thread
From: Federico G. Benavento @ 2010-03-16  0:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

fsys main create /active/home uid gid d775


On Mon, Mar 15, 2010 at 8:51 PM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
>> i just created my home directory in /usr on linux to solve this problem.
>
> That's not enough if the linux filesystem is given
>
>
>> option a: remount with -c option.  requires permission to
>> scribble on /.
>>        mount -c /srv/boot /n/boot
>>        mkdir /n/boot/home
>
> I bumbed into permission problems...
>
>> option b: use fossil / ken fs console
>>        filsys main
>>        create home uid gid 755d
>>        create home uid gid 755 d       # kenfs
>
> I finally did this:
>
> con -l /srv/fscons
> at the prompt wrote fsys main
> wrote create home ruda ruda 755
> ctrl-\
> q
>
> but I can't see any /home ...
> I didn't write 755d because it didn't like that...
>
> Ruda
>
>



-- 
Federico G. Benavento



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

end of thread, other threads:[~2010-03-16  0:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 23:14 [9fans] create /home Rudolf Sykora
2010-03-15 23:20 ` andrey mirtchovski
2010-03-15 23:26   ` Rudolf Sykora
2010-03-15 23:43     ` Federico G. Benavento
2010-03-15 23:55       ` Rudolf Sykora
2010-03-15 23:47     ` andrey mirtchovski
2010-03-15 23:23 ` erik quanstrom
2010-03-15 23:51   ` Rudolf Sykora
2010-03-16  0:31     ` Federico G. Benavento

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).