Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 12:32:04 -0400
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/188214: Manpage for fsck(8) doesn&#39;t say what happens when no -t or -T
Message-ID:  <20140524123204.43dfca83.trhodes@FreeBSD.org>
In-Reply-To: <201405231540.s4NFe0ZO096321@freefall.freebsd.org>
References:  <201405231540.s4NFe0ZO096321@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 May 2014 15:40:00 GMT
Allan Jude <allanjude@freebsd.org> wrote:

> The following reply was made to PR docs/188214; it has been noted by GNATS.
> 
> From: Allan Jude <allanjude@freebsd.org>
> To: bug-followup@FreeBSD.org, rfg@tristatelogic.com, 
>  Tom Rhodes <trhodes@FreeBSD.org>
> Cc:  
> Subject: Re: docs/188214: Manpage for fsck(8) doesn&#39;t say what happens
>  when no -t or -T
> Date: Fri, 23 May 2014 11:39:24 -0400
> 
>  I have not checked the code to be sure, but from general usage I have
>  noticed that fsck(8) doesn't actually try to detect, or 'taste' the
>  partition, but only looks at /etc/fstab and if the type is not
>  specified, then returns the error.
>  
>  Suggesting that it 'attempts to detect' may give the wrong impression.
>  Someone would have to look at the source of fsck(8) to be sure.
>  

So, in theory, an attempt to parse /etc/fstab would be
an attempt to detect the type; however, my quick glance
at the code showed no real parsing of fstab.  But in
my case, I followed to both the T and t flags, and just
glanced at what was done would they not be specified.
That was really as far as I got, and I attempted to use
very generic language in case it only does one, or the
other, or both.  :)

Reasonable?

-- 
Tom Rhodes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140524123204.43dfca83.trhodes>