[gmail] Re: ssh +openpty

Alexander Griesser alexander.griesser at lkh-vil.or.at
Wed Mar 29 07:40:44 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Leeman wrote:
>> Look at what mount -a is doing with your /etc/fstab.  If I can understand or 
>> reproduce it, I'll fix it.
> 
> I tried this, and it mounts nothing more than I already posted: it does
> not mount /dev/pts and tmpfs.

You have to mount those filesystems on your own. I basically use the
following script to do that (some modifications were made so
that it works for you):

- ---------------------------------- 8< ---------------------------
#!/bin/sh
# Mounts the virtual filesystems like proc,sysfs, ...

# Handy mount function
# Usage: do_mount <fstype> <device> <mountpoint> <options>
do_mount()
{
  echo -n "Mounting $3..."
  mount -n -t $1 $2 $3 $4
  return $?
}

do_mount proc proc /proc
do_mount sysfs sysfs /sys
do_mount usbfs none /proc/bus/usb
do_mount devpts devpts /dev/pts -ogid=5,mode=620
do_mount tmpfs tmpfs /var/tmp -osize=100M
- ---------------------------------- 8< ---------------------------

hth,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.:   +43 4242 208 3061 | Fax.:   +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEKjn766HVD6KUm1oRAgGuAJ9DWdQ33l0VW4smHkLQoRb5IxqlaQCfQmm/
rZDd85BXQEyIYTgh0RqGFTY=
=iWNX
-----END PGP SIGNATURE-----



More information about the busybox mailing list