Re: [Soekris] mounting /dev in RAM in OpenBSD

2007-12-23 Thread Lars Noodén
Chris Cohen wrote: Yes, i know. But, with my cf mounted ro I wasn't able to login via ssh. Yes. I've just tested mounting the CF ro and SSH does indeed not get me through to a shell, even with /tmp and /var each in an mfs. I haven't yet set up a log server to see what the specific errors

Re: [Soekris] mounting /dev in RAM in OpenBSD

2007-12-23 Thread Christopher R. Hertel
Chris Cohen wrote: Yes, i know. But, with my cf mounted ro I wasn't able to login via ssh. I think someone on misc@ told me to place /dev in an mfs. Did that and everything worked fine. I think openssh needs write access to the ttyp devices. Never occurred to me. Thanks. I would have

Re: [Soekris] mounting /dev in RAM in OpenBSD - RESOLVED

2007-12-23 Thread Lars Noodén
It looks like the trick was to mount the mfs version of /dev on top of the regular /dev, the system did not like to boot with only a read-only /dev or with only a mount point for /dev Currently the system successfully boots read only and SSHd accepts logins. Below is /etc/fstab for the

Re: [Soekris] mounting /dev in RAM in OpenBSD

2007-12-23 Thread Chris Cappuccio
Chris Cohen [EMAIL PROTECTED] wrote: Openssh needs to write to some devices. (Don't know which ones..) sshd wants to change permissions on /dev/ttyXX when you login so that only you can write to it (or your group) - i originally dealt with this in flashdist by making /dev/ttyXX symbolic