summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Distrib/DebianFAQ.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/Distrib/DebianFAQ.mdwn b/Distrib/DebianFAQ.mdwn
index d50b78e2..3a7e535d 100644
--- a/Distrib/DebianFAQ.mdwn
+++ b/Distrib/DebianFAQ.mdwn
@@ -4,8 +4,12 @@ See also [[Hurd/FrequentlyAskedQuestions]]
## <a name="df"> df </a>
+There is no /etc/mtab, so just running \`df' will yield an error. Pass df a path like \`df /' or \`df .' to see the disk usage of that particular file system.
+
## <a name="sshd"> sshd </a>
+You need to disable [[PriviledgeSeperation]] in /etc/ssh/sshd\_options.
+
## <a name="_dev_random"> /dev/random </a>
## <a name="Hurd_console"> Hurd console </a>
@@ -14,20 +18,38 @@ See also [[Hurd/FrequentlyAskedQuestions]]
## <a name="2GB_limit"> 2GB limit </a>
+The 2GB limit has been removed in Debian GNU/Hurd.
+
## <a name="vmstat"> vmstat </a>
+Run \`vmstat' to see memory and swap usage.
+
## <a name="translators"> translators </a>
## <a name="512MB_RAM_limit"> </a> 512MB RAM limit
## <a name="xserver_common"> xserver-common </a>
+You need to run \`dpkg-reconfigure xserver-common' and select \`Anybody' for starting X as there is no way to detect console users currently.
+
## <a name="emacs_snapshot_uninstallable"> emacs-snapshot uninstallable </a>
## <a name="reporting_Bugs"> reporting Bugs </a>
+## <a name="ps_hangs"> ps hangs </a>
+
+If \`ps' hangs, try \`ps -M' which usually still works.
+
## <a name="porting_packages"> porting packages </a>
+## <a name="debugging_glibc"> debugging glibc </a>
+
+To get debugging information for glibc, you need to install the libc0.3-dbg package. At the place gdb looks for debugging symbols by default (/usr/lib/debug/lib/), Debian's libc0.3-dbg stores only frame unwind information. If you want to step into glibc while debugging, you need to add LD\_LIBRARY\_PATH=/usr/lib/debug to gdb's environment.
+
+## <a name="debugging_translators"> debugging translators </a>
+
+In order to debug translators and being able to step into glibc during it, you need the hurd-dbg and libc0.3-dbg packages installed. Then start the translator like settrans -P /foo /usr/bin/env LD\_LIBRARY\_PATH=/usr/lib/debug /hurd/foofs". The -P option will make it pause and you will be able to attach gdb to the process.
+
## <a name="other_repositories"> other repositories </a>
If you want to use the _apt-get source_ facility, make sure that _/etc/apt/sources.list_ contains a line like