Re: [PATCH 3/3] fsck: drop hardcoded search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 12, 2015 at 05:06:53AM -0400, Mike Frysinger wrote:
> We also drop the hardcoded minimal list of filesystem types that we
> "really want" to check.  Instead, we blindly execute the fsck.<type>
> program whenever it's been requested.

 This change makes fsck.<type> required for all filesystem, so it
 breaks boot on many systems... Now fsck.<type> is optional for many
 fs types (e.g. btrfs, xfs, ...).

> @@ -888,18 +838,8 @@ static int fsck_device(struct libmnt_fs *fs, int interactive)
>  	else
>  		type = DEFAULT_FSTYPE;
>  
> -	sprintf(progname, "fsck.%s", type);
> -	progpath = find_fsck(progname);
> -	if (progpath == NULL) {
> -		if (fs_check_required(type)) {
> -			retval = ENOENT;
> -			goto err;
> -		}
> -		return 0;
> -	}

 This is important detail.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux