[gmail] Re: ssh +openpty
Rob Landley
rob at landley.net
Wed Mar 29 16:00:51 UTC 2006
On Wednesday 29 March 2006 2:40 am, Alexander Griesser wrote:
> 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< ---------------------------
Sigh. mount -a should work, and if it's _not_ working I'd like to fix it.
> hth,
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list