Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 00:09:28 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org
Subject:   Re: fsck parallel check
Message-ID:  <2126559d-38d8-8a95-d0d1-53a4f79fde65@grosbein.net>
In-Reply-To: <25031.1587056382@critter.freebsd.dk>
References:  <alpine.BSF.2.20.2004161748390.20589@puchar.net> <e5742016-81bb-2ba3-74a4-c633d3627b23@grosbein.net> <alpine.BSF.2.20.2004161824360.3899@puchar.net> <571d8b81-f4f9-d371-6cf2-2e7aeb82a09b@grosbein.net> <25031.1587056382@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
16.04.2020 23:59, Poul-Henning Kamp wrote:

> --------
> In message <571d8b81-f4f9-d371-6cf2-2e7aeb82a09b@grosbein.net>, Eugene Grosbein writes:
> 
>> Not necessary. Fsck tries to parse device name this way: /path/to/nameNUMBERrest
>> so it skips all chars upto last /, then extracts "name" part not containing any digits,
>> then extracts NUMBER part containing only digits, upto maximum lenght.
>> Then is uses nameNUMBER for "disk name".
> 
> Yeah, that part sucks...
> 
> I think it would make sense to make the heuristic that if there are any
> entries with pass > 2, then ignore the "disk name" and simply run all
> entries for each pass number in parallel, trusting root to have it
> figured out.
> 
> If the highest passnumber is 2, retain the "disk name" heuristic.

I like it.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2126559d-38d8-8a95-d0d1-53a4f79fde65>