Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 21:42:05 +0200
From:      Polytropon <freebsd@edvax.de>
To:        atar <atar.yosef@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Strange file system behavior.
Message-ID:  <20140910214205.9269a0bb.freebsd@edvax.de>
In-Reply-To: <793B69B7-2534-42E1-9449-63B74D5BCEDE@gmail.com>
References:  <793B69B7-2534-42E1-9449-63B74D5BCEDE@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Sep 2014 19:29:47 +0300, atar wrote:
> I'm using at FreeBSD 10.0 release but with the 'i386-memstick.img'
> version running from my USB stick and I've noticed at strange
> behavior when I tried execute the command: 'less /etc/resolv.conf'
> it gives me an error message that says: 'No such file or directory'
> but I fairly know that this file does exists from the output of
> the 'ls -lh /etc/resolv.conf' command, so what's going on here?

Check the file via "stat /etc/resolv.conf". What
about "cat /etc/resolv.conf"?

If you get an error, run fsck on the file system.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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