From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail01-md.ns.itscom.net ([175.177.155.111]:59134 "EHLO mail01-md.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755445AbeE3Ck3 (ORCPT ); Tue, 29 May 2018 22:40:29 -0400 From: "J. R. Okajima" Subject: Re: Why is the length of max mount option a page size?? To: Jungsub Shin Cc: Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20180529035703.GA32550@supsup-VirtualBox> References: <20180521173959.GA12779@supsup-VirtualBox> <5670.1527244930@jrobl> <20180529002456.GA30767@supsup-VirtualBox> <20180529011412.GE30522@ZenIV.linux.org.uk> <20180529035703.GA32550@supsup-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5877.1527648027.1@jrobl> Date: Wed, 30 May 2018 11:40:27 +0900 Message-ID: <5878.1527648027@jrobl> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Jungsub Shin: > Do you mean using symlinks or bind mount to reduce length of mount > options?? I can remove "~/tca_agent/image_layer_dir" string. But the > other character means unique ID of layer and i can't compress it or > replace it to another string. This is not fundamental solution. Docker=20 Can't it be a solution? # mount -o bind /long/path0 /br0 # mount -o bind /long/path1 /br1 ::: # mount -t aufs -o br=/br0:/br1:... none /mntpnt or # ln -s /long/path0 /br0 # ln -s /long/path1 /br1 ::: # mount -t aufs -o br=/br0:/br1:... none /mntpnt J. R. Okajima