1 |
On Mon, Sep 09 2013, Canek Peláez Valdés wrote: |
2 |
|
3 |
> On Mon, Sep 9, 2013 at 1:51 PM, <gottlieb@×××.edu> wrote: |
4 |
>> In fstab I have |
5 |
>> /dev/vg/var /mnt/var ext4 defaults 0 2 |
6 |
>> I also have |
7 |
>> lrwxrwxrwx 1 root root 7 Aug 31 16:13 /var -> mnt/var |
8 |
>> |
9 |
>> This has worked ok but revdep-rebuild is not happy |
10 |
> |
11 |
> I think it's the symlink the thing that is making revdep-rebuild |
12 |
> unhappy. Have you tried to bind mount /mnt/var into /var? |
13 |
> |
14 |
> mount -o bind /mnt/var /var |
15 |
|
16 |
Works great. Thanks. To make it permanent I put |
17 |
/mnt/var /var ext4 bind 0 0 |
18 |
right under |
19 |
/dev/vg/var /mnt/var ext4 defaults 0 2 |
20 |
in /etc/fstab |
21 |
|
22 |
>> Should I also mount directly onto /tmp and /opt? |
23 |
> |
24 |
> I don't think so, although /tmp is preferred to be a tmpfs now, I |
25 |
> believe (in both systemd and OpenRC, if I'm not mistaken). |
26 |
|
27 |
To use tmpfs I will first have to teach myself not to put things in /tmp |
28 |
that I expect to need for only a few days (I have wipe_tmp="NO"; and use |
29 |
30 days for tmpwatch). |
30 |
|
31 |
thanks again, |
32 |
allan |