changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / lib/namespace

changeset 7241: 4b6277dd0535
parent: f498f01d02f3
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 01:51:28 +0200
permissions: -rw-r--r--
description: mkone: fix man target (thanks Amavect)

Amavect wrote:
> mkone and mkmany have backwards targets for installing man pages.
> This patch makes 'mk man' actually work for mkfiles that include mkone.
> mkmany is not easily fixed without breaking changes.
> It may go without saying that external repos should write their own mkfiles.
1 # root
2 mount -aC #s/boot /root $rootspec
3 bind -a $rootdir /
4 
5 # kernel devices
6 bind #c /dev
7 bind #d /fd
8 bind -c #e /env
9 bind #p /proc
10 bind -c #s /srv
11 bind -q #σ /shr
12 bind -a #¤ /dev
13 bind -qa #¶ /dev
14 
15 # authentication
16 mount -b /srv/factotum /mnt
17 
18 # mount points
19 mount -a /srv/slashn /n
20 mount -a /srv/slashmnt /mnt
21 mount -a /srv/mntexport /mnt/exportfs
22 
23 # standard bin
24 bind /$cputype/bin /bin
25 bind -a /rc/bin /bin
26 
27 # internal networks
28 # mount -a /srv/ip /net
29 bind -a #l /net
30 bind -a #I /net
31 mount -a /srv/cs /net
32 mount -a /srv/dns /net
33 mount -a /srv/net /net
34 
35 mount -C /srv/boot /n/other other
36 bind -c /n/other/usr/$user/tmp /usr/$user/tmp
37 
38 bind -c /usr/$user/tmp /tmp
39 cd /usr/$user
40 
41 . /lib/namespace.local
42 . /lib/namespace.$sysname
43 . /cfg/$sysname/namespace