Re: /proc/misc has bad mode

Matthias Urlichs (smurf@smurf.noris.de)
Tue, 23 Apr 1996 21:07:10 +0200 (MET DST)


Andreas Jaeger wrote:
>
>But what are you doing with /dev? I need to mount /dev read-write to
>change e.g. on login the permissions on /dev/tty*. And I fear I cannot
>put /dev on a different partition, can I (I think I need /dev to mount
>other partitions and if I don't have /dev ... :-( )?

Easy. Unmount everything, then do a
- cd /
- cp -a dev var ## if you are singleuser
- mount /var
- cp -a dev var ## for multiuser operation
- rm -rf dev; ln -s var/dev .

>The only possibility that I can see for a read-only root file-system
>is making my /dev/tty* links to another partition.
>
See above.

--=20
A suspicious parent makes an artful child.
-- Haliburton
--=20
Matthias Urlichs \ Noris Network GmbH i.Gr/ Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12 \ Linux+Internet / EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany) \ Consulting+Programming+Networking+etc'i=
ng
PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE=20
Click <A HREF=3D"http://smurf.noris.de/~smurf/finger">here</A>. =
42