200 lines and fat client
asmo.koskinen at arkki.info
asmo.koskinen at arkki.info
Mon Nov 22 14:01:15 GMT 2010
Well, fat client does not seem so easy to setup than server/thin client.
All the files are same as in server side and I made a new image.
When I open gnome-terminal I got this.
bash: /dev/cgroup/cpu/user/2098/tasks: Does not exist
bash: /dev/cgroup/cpu/user/2098/notify_on_release: Does not exist
ltsp000 at ltsp200:~$ mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/nbd0 on /rofs type squashfs (ro,relatime)
tmpfs on /cow type tmpfs (rw,relatime,mode=755)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
192.168.0.254:/home/ltsp000 on /home/ltsp000 type fuse.sshfs
(rw,nosuid,nodev,max_read=65536,allow_other)
ltsp000 at ltsp200:~$
ltsp000 at ltsp200:~$ cat /etc/rc.local
#!/bin/sh -e
mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent
exit 0
ltsp000 at ltsp200:~$
-----
Where that 'cgroup' mount goes in fat clients? I installed that mount
after boot by hand in fat client.
ltsp000 at ltsp200:~$ ssh root at ltsp200
Last login: Mon Nov 22 15:51:55 2010
root at ltsp200:~# mkdir -p /dev/cgroup/cpu
root at ltsp200:~# mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
root at ltsp200:~# mkdir -m 0777 /dev/cgroup/cpu/user
root at ltsp200:~# echo "/usr/local/sbin/cgroup_clean" >
/dev/cgroup/cpu/release_agent
root at ltsp200:~# cat /usr/local/sbin/cgroup_clean
#!/bin/bash
rmdir /dev/cgroup/cpu/$*
root at ltsp200:~# mount
[--]
aufs on / type aufs (rw)
/dev/nbd0 on /rofs type squashfs (ro,relatime)
tmpfs on /cow type tmpfs (rw,relatime,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
192.168.0.254:/home/ltsp000 on /home/ltsp000 type fuse.sshfs
(rw,nosuid,nodev,max_read=65536,allow_other)
cgroup on /dev/cgroup/cpu type cgroup (rw,cpu)
root at ltsp200:~#
There is lot's of file systems indeed ;-)
Just wondering.
Best Regards Asmo Koskinen.
More information about the edubuntu-users
mailing list