Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Weird "df" output
Date: Thu, 26 Nov 2015 00:25:46
Message-Id: CAGfcS_n_9T4BZH5DOoMHzP_qp7OfEVoeY9Ft+d5R0amuWOA_Kw@mail.gmail.com
In Reply to: Re: [gentoo-user] Weird "df" output by "Jc García"
1 On Wed, Nov 25, 2015 at 5:30 PM, Jc García <jyo.garcia@×××××.com> wrote:
2 > 2015-11-25 16:10 GMT-06:00 <waltdnes@××××××××.org>:
3 >
4 >> /dev/sda7. Here's the relevant portion of /etc/fstab...
5 > ...
6 >
7 >> /home/bindmounts/opt /opt auto bind 0 0
8 >
9 > Why not use regular partiontions instand of bindmounts, you are just
10 > doing weird stuff seems to me.
11 >
12
13 Then all your free space gets fragmented across a dozen different
14 filesystems and you end up micromanaging everything.
15
16 I use one filesystem for root, and another filesystem for everything
17 else. I mostly use symlinks, but at times Gentoo has been picky about
18 symlinks so in some cases I've used bind mounts instead. When my root
19 was really tiny and almost everything was elsewhere I had a ton of
20 bind mounts. Now that all the places portage touches are on root I
21 don't have to deal with that as much.
22
23 I think the df behavior above is somewhat normal when you have bind mounts.
24
25 --
26 Rich