Bash history empty on login
Andre Goree
andre at drenet.info
Tue Jan 8 23:49:24 UTC 2013
> I think I've found the culprit, however:
> [agoree at desktop ~]$ echo $HISTFILESIZE
> 1024000
> [agoree at desktop ~]$ echo $HISTFILE
> /home/agoree/.bash_history
> [agoree at desktop ~]$ ll /home/agoree/.bash_history
> -rw------- 1 agoree agoree 12k Jan 5 14:09 /home/agoree/.bash_history
> [agoree at desktop ~]$ cat /home/agoree/.bash_history
> cat: /home/agoree/.bash_history: Input/output error
> [agoree at 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 at drenet.info
More information about the freebsd-questions
mailing list