ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: PTY allocation problem in lenny

To:
Subject: Re: [ts-7000] Re: PTY allocation problem in lenny
From: Petr Ledvina <>
Date: Fri, 4 Sep 2009 19:31:59 +0200
Hello,
seems I found how to solve this problem a little bit more elegantly.

The problem is that
rcS.d/S04mountdevsubfs mounts /dev/pts and /dev/shm,
rcS.d/S12udev unmounts them before working on /dev (using umount -n,
so they stay in /etc/mtab, but are not mounted (/proc/mounts) )
and then nothing brings them back

One workaround is to call mountdevsubfs.sh again after udev:
cd /etc/rcS.d
ln -s ../init.d/mountdevsubfs.sh S13mountdevsubfs

Maybe someone with more understanding of linux init may find some
solution that is cleaner ...

Also in linuxrc, devpts mount is not moved into root filesystem. TS
removed this move for some reason. Without moving it, /dev/, /dev/shm
and /dev/pts remains mounted on /initrd/dev, ...

When I mount --move /dev, nothing seems to be broken:
(at end of linuxrc script: )

pivot_root . ./initrd
./bin/mount -n --move ./initrd/sys ./sys >.$CONSOLE 2>&1
./bin/mount -n --move ./initrd/proc ./proc >.$CONSOLE 2>&1
./bin/mount -n --move ./initrd/dev ./dev >.$CONSOLE 2>&1
exec ./usr/sbin/chroot . ./sbin/init < .$CONSOLE > .$CONSOLE 2>&1

Petr


On Thu, Jul 2, 2009 at 01:15, Morgan Gangwere<> wrote:
>
>
> More reasons a fastboot system isnt always fast ;)
>
> --
> Morgan gangwere
>
> "Space does not reflect society, it expresses it." -- Castells, M.,
> Space of Flows, Space of Places: Materials for a Theory of Urbanism in
> the Information Age, in The Cybercities Reader, S. Graham, Editor.
> 2004, Routledge: London. p. 82-93.
>
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ts-7000] Re: PTY allocation problem in lenny, Petr Ledvina <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU