From owner-freebsd-questions@freebsd.org Wed May 6 20:31:39 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED5172DF17F for ; Wed, 6 May 2020 20:31:39 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HStM1LXFz498F for ; Wed, 6 May 2020 20:31:39 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x132.google.com with SMTP id f82so3070582ilh.8 for ; Wed, 06 May 2020 13:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ECKDMWuV6Oo55Nkkk82KP+lFabwYCrnpHbiqmfzJZE=; b=d5QeYXltSOXc8k1Jug47Nju/A9th2GjaNguVq7QF4ZTyi677PCbAI8nE/uqfOqXIl+ +S65ZMepE2nE5hQNnHho2VhnT5EH3mIj0U5rPTUWsydSkLeLWPqk2fOj5r0EeaXnM09n k8CHsc+mUXa8hwXdnkX/3l0E91sqt/EJP2EAFRGr5dCKXM6CPOMRETUraGm0qF7BIpe4 ektT+ZodXb3hT9CMUsnP9m0pGiicL91gUVZLDQ2+OpEhf3FbwMWLj5alSbuVxNzmK1vo ahRN2dPIerw++DcIcRFq56vJu+K0Zaiv86JmEyU7T1lDV9Fos3b/jbHTw0WTY8B7zP47 9RgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ECKDMWuV6Oo55Nkkk82KP+lFabwYCrnpHbiqmfzJZE=; b=oo8wz4ZyDL6XkzbdeWZGJa2fTZPc1ruwd5EZvJlhp3r+4NZDfFEHwsEXZIbPIQ+iEj qjLaRLu/CD5+h0lbgEnxwaPPpdzHNTTVBMFFTOLEP6W51umSouggJ9ePkWMtVydn4TnP hGW0AnBqEEa4ADCEY3kEwgb63glZe+y//eNZzI9+y0XEPpXl8HZJH396cHC0X3rxnmA6 JVIfqxvmY2OxNcWKFdqvZU+yh9SKgCOVW+eq6Jq27mwiyXyyqGckeaO70gRL3luJi2lO cKyjX+KGqNCkZeRJ7KB8VpHsK7ZzNbc7h2LGd79ZcahZb+9+SOpr5A3rDnEOcB+tkt4L qD3Q== X-Gm-Message-State: AGi0PuY72A1ukKaGvd1vvrzCSXsNsfcevkTJnrsaljQZAfZlUb2lKZdn B78mcSwn1e0aXcEs1V1lVmh3R4RPQjzz3JcU6n4= X-Google-Smtp-Source: APiQypLKeGPRrxryb240IZ1ibuTS3ibaphtXGPE4VdHFp6nmvyXPicKW0TXqqOMdGEdZ91Mi4EFDsE5DnLJLHjbgWFU= X-Received: by 2002:a92:dac6:: with SMTP id o6mr10800306ilq.29.1588797097292; Wed, 06 May 2020 13:31:37 -0700 (PDT) MIME-Version: 1.0 References: <83788746a7d8a802d8af4b582e00827166febd1a.camel@tom.com> <9a387b42-8da5-2968-24ba-754c3e461252@kicp.uchicago.edu> <20200506151230.GI82984@trajan.stk.cx> <20200506134457056426360@bob.proulx.com> <3f899735-1ed2-105c-1483-0450b8dcc7a3@kicp.uchicago.edu> In-Reply-To: <3f899735-1ed2-105c-1483-0450b8dcc7a3@kicp.uchicago.edu> From: Aryeh Friedman Date: Wed, 6 May 2020 16:31:26 -0400 Message-ID: Subject: Re: redesignde the unix-like system directory To: Valeri Galtsev Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 49HStM1LXFz498F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=d5QeYXlt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-8.39), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 20:31:40 -0000 On Wed, May 6, 2020 at 4:19 PM Valeri Galtsev wrote: > > > On 5/6/20 2:55 PM, Bob Proulx wrote: > > Tim Daneliuk wrote: > >> Arne Steinkamm wrote: > >>>>> /cloud, various cloud applications > >>>>> /net, network information and server information, etc. > >>> Looking at a flat layout like this one gives me a feeling, that > >>> most people forgot that it's a real bad idea to have a > >>> external mounted directory in the root directory... easy way to make > >>> a system unresponsive in case of a network problem. > >> > >> Can you say a bit more about why this is so? > > > > Assume NFS for simplicity. A mount point at the /nfsmount1 directory. > > Then run "ls -l /". That needs to stat(2) each entry in / and hits > > /nfsmount1 > > Do people really do that? I kind of since forever use automounter or > similar, net mounts are in subdirectories of > > /net > > Yes all the time some programs even force it if you use them NFS mounted such as devel/aegis if you want to have a centeral collection of baseline for all developers to access. Using /net in many situations (most I have run into) is the *WEIRD* way not the mounting to non-/net. Luckily all such programs I know of allow/encourage you not to do a direct mount on root for reasons discussed, > > -- > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org