From owner-freebsd-questions@FreeBSD.ORG Mon Oct 3 14:58:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A103D106566B for ; Mon, 3 Oct 2011 14:58:51 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 69BD78FC17 for ; Mon, 3 Oct 2011 14:58:51 +0000 (UTC) Received: by iadk27 with SMTP id k27so7524782iad.13 for ; Mon, 03 Oct 2011 07:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NvRZALzlqckfZ6e+tUQnH9HM+DtSxigtfd+LkOX4XSk=; b=RwUe/vM9YImfxdtU/B18oiMDGkp4bAz/ilFRf1T/IiUaKSrSYrFBZDl+6OOebVem7b P+OV5ioj2m1uydNXAwR8MAcHiPdM14qCbHHxLj5wRN4vtxkUNri2HrjPluk660zi4JY4 znyQudS4G4XXQ5Uj/rdoT+2Cxky5GzU3ytobE= MIME-Version: 1.0 Received: by 10.231.74.21 with SMTP id s21mr7726ibj.84.1317653930942; Mon, 03 Oct 2011 07:58:50 -0700 (PDT) Received: by 10.231.199.143 with HTTP; Mon, 3 Oct 2011 07:58:50 -0700 (PDT) In-Reply-To: <20111003153640.b7072af9.freebsd@edvax.de> References: <4E89AED9.3000705@my.gd> <20111003153640.b7072af9.freebsd@edvax.de> Date: Mon, 3 Oct 2011 16:58:50 +0200 Message-ID: From: n dhert To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: FreeBSD 8.2, sec.update -p3, switching between X and console prompt, /var full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2011 14:58:51 -0000 I tried # ps -jaxw | grep X root 7609 1461 7609 1 1 S ?? 0:00.55 /usr/local/bin/X -br -nolisten tcp :0 -auth /var/run/xauth/A:0-9mN8YK ( root 7633 3423 7632 3356 2 S+ 5 0:00.06 grep X # kill -9 7609 but it creates a new one ... # ps -jawx | grep X root 7640 1461 7640 1 1 S ?? 0:00.69 /usr/local/bin/X -br -nolisten tcp :0 -auth /var/run/xauth/A:0-9mN8YK ( I killed the parent process /usr/local/bin/kdm-bin now /var is back to normal in du -ks (19%) But still no reaction on Cltrl-Alt-F* keystrokes. 2011/10/3 Polytropon > On Mon, 3 Oct 2011 15:15:26 +0200, n dhert wrote: > > I tried Ctrl-Alt-Backspace in the graphical login wndow, but as with > other > > key Ctrl-Alt key combinations > > this does not do anything ... > > It is "new behaviour" that certain default functionalities > of X need to be enabled manually. Ctrl+Alt+Backspace is one > of them, and Ctrl+Alt+F1/2/3/... _may_ be too. > > If I remember correctly, /etc/X11/xorg.conf requires > > Section "ServerLayout" > Option "DontZap" "false" > EndSection > Section "ServerFlags" > Option "DontVTSwitch" "false" > EndSection > > to re-enable the default behaviour. But check the Handbook > for detailed information. > > > > > I there a commadn line way to restart X > > You can kill the X process. Dirty stuff, but works. :-) > > > > > I also tried fsck-ing the /var/ file system, but it chooses NO WRITE > > nothing is repaired > > You cannot run fsck on a mounted file system. You'll have > to unmount /var first, _then_ issue the fsck command. You > should do that in single user mode. Reason: If you have > unmounted /var, but some process wants to write to /var, > the empty mountpoint residing on / will be filled, therefore > / will be filled which is _not_ intended. > > > > > See the last UNREF FILE, it has the size of the huge /var/log/Xorg.0.log > I > > already deleted from command line (and not anymore in > > an ls -la), but keeps fulling /var > > Additionally to using rm, you can also use fsdb to "forcedly > delete files" under worst circumstances. > > Removing files should be done after booting the system in > single user mode. This way you can make _sure_ nothing is > writing to those files. Before a removal attempt, you should > run fsck so the file system is in a valid condition. > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >