Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 22:31:21 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Mark Felder <feld@FreeBSD.org>, freebsd-questions@FreeBSD.org
Subject:   Re: install packages with pkg_add(1) into another file system
Message-ID:  <20131009203120.GA1185@tiny.Sisis.de>
In-Reply-To: <20131008133116.GA1987@sh4-5.1blu.de>
References:  <20131008111618.GA9957@sh4-5.1blu.de> <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com> <20131008130753.GA26177@sh4-5.1blu.de> <1381237951.15680.31430109.1ED62FEE@webmail.messagingengine.com> <20131008133116.GA1987@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, October 08, 2013 a las 03:31:16PM +0200, Matthias Apitz escribió:

> Meanwhile I did:
> 
> # cp -Rp ~guru/PKGDIR    /mnt
> 
> # PKG_PATH=/PKGDIR
> # export PKG_PATH
> # chroot /mnt pkg_add xorg-7.7
> # chroot /mnt pkg_add kde-4.10.5
> # chroot /mnt pkg_add vim-7.3.1314
> ...
> 
> # chroot /mnt pkg_info | wc -l
>      654
> 
> which went fine without any errors (only the normal messages about
> creation of users, etc.); I will test the resulting image and report
> back.

I have transferred the image with dd(1) to a 16 "marketing-GByte" USB
key; it boots fine in my little EeePC 900, takes around 90 secs until
login: and KDE4 starts fine too, takes around 240 secs from "startx" to
be able to start an xterm application in KDE4 desktop; i.e. it works,
even from such a slow USB key which has a read performance of 1 to 17 MByte
per sec, depending of the blocksize 512 or 8m;

All this is only a proof of concept to prepare such USB key to boot from
and reinstall from it the system on my EeePC netbook whic runs at
themoment r235646 with KDE3 (which is now dropped from our ports tree).

It seems that KDE4 launches a lot of application or services which I
will not need, for example all these akonadi_maildir processes (see
attached "ps -ax" output; for what they are good for? Ok, this question
goes more to the kde@ mailing list.

Thx

	matthias




 PID TT  STAT    TIME COMMAND
   0  -  DLs  0:00.05 [kernel]
   1  -  ILs  0:00.02 /sbin/init --
   2  -  DL   0:00.00 [sctp_iterator]
   3  -  DL   0:00.00 [xpt_thrd]
   4  -  DL   0:00.11 [pagedaemon]
   5  -  DL   0:00.00 [vmdaemon]
   6  -  DL   0:00.00 [pagezero]
   7  -  DL   0:00.00 [bufdaemon]
   8  -  DL   0:00.09 [syncer]
   9  -  DL   0:00.00 [vnlru]
  10  -  DL   0:00.00 [audit]
  11  -  RL   2:53.86 [idle]
  12  -  WL   0:02.35 [intr]
  13  -  DL   0:00.84 [geom]
  14  -  DL   0:00.05 [rand_harvestq]
  15  -  DL   0:00.90 [usb]
  16  -  DL   0:00.03 [acpi_thermal]
  17  -  DL   0:00.00 [softdepflush]
1391  -  Ss   0:00.03 /sbin/devd
1536  -  Ss   0:00.04 /usr/sbin/syslogd -s
1560  -  DL   0:00.04 [md0]
1641  -  Is   0:00.60 /usr/sbin/moused -p /dev/psm0 -t auto
1686  -  Is   0:00.00 /usr/sbin/sshd
1689  -  Ss   0:00.02 sendmail: accepting connections (sendmail)
1692  -  Is   0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmque
1696  -  Ss   0:00.05 /usr/sbin/cron -s
1796  -  Is   0:19.46 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-a
1802  -  Is   0:00.91 kdeinit4: kdeinit4 Running... (kdeinit4)
1803  -  I    0:00.60 kdeinit4: kdeinit4: klauncher --fd=8 (kdeinit4)
1805  -  I    0:05.90 kdeinit4: kdeinit4: kded4 (kdeinit4)
1807  -  I    0:00.07 /usr/local/libexec/gam_server
1811  -  I    0:02.99 kdeinit4: kdeinit4: kglobalaccel (kdeinit4)
1817  -  I    0:06.23 /usr/local/kde4/bin/knotify4
1819  -  I    0:02.45 kdeinit4: kdeinit4: ksmserver (kdeinit4)
1820  -  I    0:11.72 kwin -session 10d6114d4e6000138134719200000018120000_1381
1824  -  I    0:14.72 kdeinit4: kdeinit4: plasma-desktop (kdeinit4)
1827  -  I    0:20.26 /usr/local/kde4/bin/akonadi_control
1828  -  I    0:02.79 akonadiserver
1830  -  I    0:03.56 /usr/local/libexec/mysqld --defaults-file=/home/guru/.loc
1838  -  I    0:02.07 /usr/local/kde4/bin/kuiserver
1840  -  I    0:00.08 kdeinit4: kdeinit4: nepomukserver (kdeinit4)
1843  -  I    0:04.73 kdeinit4: kdeinit4: krunner (kdeinit4)
1845  -  I    0:02.35 kdeinit4: kdeinit4: kmix -session 10d6114d4e6000138134736
1846  -  IN   0:00.93 /usr/local/kde4/bin/nepomukservicestub nepomukstorage
1849  -  I    0:00.60 /usr/local/kde4/bin/nepomukcontroller -session 10d6114d4e
1852  -  I    0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1853  -  I    0:01.07 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1854  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1855  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1856  -  I    0:03.81 /usr/local/kde4/bin/akonadi_archivemail_agent --identifie
1857  -  I    0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_ical_r
1858  -  I    0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1859  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1860  -  I    0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1861  -  I    0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1862  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1863  -  I    0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1864  -  I    0:01.06 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1865  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1866  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1867  -  I    0:01.03 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1868  -  I    0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1869  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1870  -  I    0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1871  -  I    0:01.11 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1872  -  I    0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1873  -  I    0:01.05 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1874  -  I    0:01.11 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1875  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1876  -  I    0:01.08 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1877  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1878  -  I    0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1879  -  I    0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1880  -  I    0:01.11 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1881  -  I    0:02.98 /usr/local/kde4/bin/akonadi_maildispatcher_agent --identi
1883  -  I    0:03.94 /usr/local/kde4/bin/akonadi_mailfilter_agent --identifier
1884  -  I    0:03.04 /usr/local/kde4/bin/akonadi_nepomuk_feeder --identifier a
1902  -  I    0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1916  -  I    0:02.21 /usr/local/kde4/lib/kde4/libexec/polkit-kde-authenticatio
1917  -  S    0:01.65 /usr/local/kde4/bin/korgac --icon korgac
1923  -  I    0:00.57 kdeinit4: kdeinit4: klipper (kdeinit4)
1944  -  I    0:01.24 /usr/local/kde4/bin/kwikdisk -caption KwikDisk
1946  -  I    0:00.95 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1948  -  S    0:00.26 /usr/local/bin/xterm
1952  -  I    0:00.03 kdeinit4: kdeinit4: kio_trash trash local:/tmp/ksocket-gu
1738 v0  Is   0:00.08 login [pam] (login)
1746 v0  I    0:00.02 -sh (sh)
1748 v0  I+   0:00.01 /bin/sh /usr/local/bin/startx
1761 v0  I+   0:00.01 xinit /home/guru/.xinitrc -- /home/guru/.xserverrc :0 -au
1762 v0  S    0:19.67 X -nolisten tcp -retro (Xorg)
1764 v0  I    0:00.04 /bin/sh /usr/local/kde4/bin/startkde
1795 v0  I    0:00.00 dbus-launch --sh-syntax --exit-with-session --autolaunch 
1818 v0  I    0:00.00 kwrapper4 ksmserver
1739 v1  Is+  0:00.01 /usr/libexec/getty Pc ttyv1
1740 v2  Is+  0:00.01 /usr/libexec/getty Pc ttyv2
1741 v3  Is+  0:00.01 /usr/libexec/getty Pc ttyv3
1742 v4  Is+  0:00.01 /usr/libexec/getty Pc ttyv4
1743 v5  Is+  0:00.01 /usr/libexec/getty Pc ttyv5
1744 v6  Is+  0:00.01 /usr/libexec/getty Pc ttyv6
1745 v7  Is+  0:00.01 /usr/libexec/getty Pc ttyv7
1955  1  Ss   0:00.03 sh
1962  1  R+   0:00.01 ps ax
-- 
Sent from my FreeBSD netbook

Matthias Apitz, <guru@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)                     
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131009203120.GA1185>