Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jan 2013 18:49:16 -0500
From:      Andre Goree <andre@drenet.info>
To:        freebsd-questions@freebsd.org
Subject:   Re: Bash history empty on login
Message-ID:  <50ECB07C.6050603@drenet.info>
In-Reply-To: <50ECADFF.6080003@drenet.info>
References:  <op.wqkfn7omqdqf40@desktop.drenet.local> <201301080759.52247.dyioulos@onpointfc.com> <op.wqlircacqdqf40@localhost.localdomain> <alpine.BSF.2.00.1301081507260.41917@mail.fig.ol.no> <50ECADFF.6080003@drenet.info>

next in thread | previous in thread | raw e-mail | index | archive | help

> I think I've found the culprit, however:
> [agoree@desktop ~]$ echo $HISTFILESIZE
> 1024000
> [agoree@desktop ~]$ echo $HISTFILE
> /home/agoree/.bash_history
> [agoree@desktop ~]$ ll /home/agoree/.bash_history
> -rw-------  1 agoree  agoree    12k Jan  5 14:09 /home/agoree/.bash_history
> [agoree@desktop ~]$ cat /home/agoree/.bash_history
> cat: /home/agoree/.bash_history: Input/output error
> [agoree@desktop ~]$ file /home/agoree/.bash_history
> /home/agoree/.bash_history: ERROR: cannot read
> `/home/agoree/.bash_history' (Input/output error)
> 
> I suppose I'm in need of a scrub, eh?  Or perhaps just a tweak to
> $HISTFILE until I have the time (or energy) to deal with the scrub --
> probably not a good idea, but sense all my important data is kept on a
> NAS...  :p
> 
> 
	

So, yeahhh...:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0   586
          ad4s1d    ONLINE       0     0     0
          ad8s1d    ONLINE       0     0   586

errors: Permanent errors have been detected in the following files:

        /usr/local/share/icons/hicolor/128x128/apps/vlc.png
        zroot/usr:<0x11ae0a>
        zroot/usr:<0x109118>
        zroot/usr:<0x11ae18>
        zroot/usr:<0x11ae19>
        zroot/usr:<0x11ae1d>
        zroot/usr:<0x11ae1e>
        zroot/usr:<0x18b61e>
        zroot/usr:<0x18b622>
        zroot/usr:<0x18b62e>
        zroot/usr:<0x18b637>

/usr/ports/sysutils/e2fsprogs/work/e2fsprogs-1.42.6/e2fsck/e2fsck.c.bak
        zroot/usr:<0x18b63c>
        zroot/usr:<0x18b63d>
        zroot/usr:<0x18b641>
        zroot/usr:<0x18b642>
        zroot/usr:<0x109256>
        /usr/home/agoree/.opera.bak/icons/www.google.com.idx
        /usr/home/agoree/.opera.bak/download.dat
        /usr/home/agoree/.cache/chromium/Default/Cache/data_1
        /usr/home/agoree/.opera.bak/typed_history.xml
        /usr/home/agoree/.bash_history
        zroot/usr:<0x109199>
        zroot/usr:<0x11ad9b>
        /usr/local/share/locale/fo/LC_MESSAGES/cairo-dock.mo
        /usr/local/lib/qt4/plugins/script/libqtscript_core.so.1.0.0
        zroot/var:<0x98bf>


I'll probably just go ahead and reinstall -- I've been wanting to give
9.1 a try anyways.


-- 
Andre Goree
andre@drenet.info



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