Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp653231ybh; Wed, 22 Jul 2020 09:44:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7oKPp2nFioLoBP8YJhI6LYNapE4Uyg9gqt/Qa58IPQ19lwuvawDVNO9AhWMUFakfBMoDn X-Received: by 2002:aa7:c398:: with SMTP id k24mr311303edq.95.1595436268914; Wed, 22 Jul 2020 09:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595436268; cv=none; d=google.com; s=arc-20160816; b=Qu6YM0sJyFv4usni5Pl8Ix/Xmso0cpoinvSDI4vKBgZog7RVAjcHGADTU4RlxZPjoZ qZtBvinU9jFvWreKHeAKyUlBr7dl8W+G3XPnFst6QaNbiE+/APP4/H3/eX0dOI7TJ93y 9f42J/TnR5Y7sNcINQc6trWDBDRQ7AcqULFLm+v6aq4apY7q2sNHPpTwP1+khnLVDFf5 CWcauLUlh1xMbM98kd+LzzLsIG2Lh6rUQxkhREGxPbHCvB8xp5AA3apDg0A3uzhA+2/q I4q4HcMoR5ogL3RksBoKlHhuxIRfuaI58z9hNBziVQK9dphWy2NOZJu28/iFBoupgB5b hB9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Zk6F4uVbnUf2oeUv7IyzfV0lTr1Y6rY+tsb9k25LoDE=; b=Z/US8YlKxrSMoMsyTLPB8L1Q7QveElJZGDFI6sb1sp6nwTvHstncsgvaYCBiTpM8uM ZP90E1/JbBAH5tq9/eUP27chmjRVds5IY7j+w2IZB04CYYqk0sogfBXEB1+U3nUFBPKU wRDlkeVBDajibBtAzwRSysrxBFY8QTmBe0rghcs6fou5KV6F4EAuSI4tfBtuKP8wk0A6 Xjpm0SXRzOzWJBDgVy4kb202YOrdwqgoVy+6EfOVNk/ch7jukUlEuHctpsE85661eNAT pxFOgzbl8t7ZqOjti78gHRcOYx1i6N01AHzvIv2KW4uM3ID5Z+37kpQh1Z7TH63jac9O JpLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Pr3QGSqD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si351281ejr.345.2020.07.22.09.44.06; Wed, 22 Jul 2020 09:44:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Pr3QGSqD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727778AbgGVQn5 (ORCPT + 99 others); Wed, 22 Jul 2020 12:43:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:52044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbgGVQn4 (ORCPT ); Wed, 22 Jul 2020 12:43:56 -0400 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D04C206C1; Wed, 22 Jul 2020 16:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595436236; bh=NWmgMsYz/UjEHMAobNjaiLofiShGglCnNsamdsb/4Rc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pr3QGSqDxjAvr5aSuvlajCCX0H8+kOeWvKsF32hJUChoXnX2+zQhaEqT51FsiyMl+ QLaeEso28PHOmuS30c82ZfXTzIOb5GnXtq3aqJehFW3rr3TY3PShXks9vry8e4pDJi vhAajRuY/QG1uuNzvGDLZHSu7wgR+RnkLbA1z/Lw= Date: Wed, 22 Jul 2020 09:43:56 -0700 From: Jaegeuk Kim To: Greg KH Cc: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Subject: Re: [PATCH 1/2] f2fs: add sysfs symbolic link to kobject with volume name Message-ID: <20200722164356.GA3912099@google.com> References: <20200719054409.3050516-1-daeho43@gmail.com> <20200719151640.GA301791@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200719151640.GA301791@kroah.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/19, Greg KH wrote: > On Sun, Jul 19, 2020 at 02:44:08PM +0900, Daeho Jeong wrote: > > From: Daeho Jeong > > > > Added a symbolic link directory pointing to its device name > > directory using the volume name of the partition in sysfs. > > (i.e., /sys/fs/f2fs/vol_#x -> /sys/fs/f2fs/sda1) > > No, please no. > > That is already created today for you in /dev/disk/ The kernel does not > need to do this again. > > If your distro/system/whatever does not provide you with /dev/disk/ and > all of the symlinks in there, then work with your distro/system/whatever > to do so. I don't get the point, since /dev/disk points device node, not any sysfs entry. Do you mean we need to create symlink to /sys/fs/f2fs/dm-X in /dev/disk? > > Again, no need to do this on a per-filesystem-basis when we already have > this around for all filesystems, and have had it for 15+ years now. Could you point out where we can get this? And, the label support depends on per-filesystem design. I'm not sure how this can be generic enough. > > thanks, > > greg k-h