1 |
I use lvm and use it for /var. |
2 |
In fstab I have |
3 |
/dev/vg/var /mnt/var ext4 defaults 0 2 |
4 |
I also have |
5 |
lrwxrwxrwx 1 root root 7 Aug 31 16:13 /var -> mnt/var |
6 |
|
7 |
(Similar setup for /tmp and /opt) |
8 |
|
9 |
This has worked ok but revdep-rebuild is not happy |
10 |
|
11 |
root@E6510 cache # revdep-rebuild |
12 |
* Configuring search environment for revdep-rebuild |
13 |
* Working directory expected to be /var/cache/revdep-rebuild, but it is /mnt/var/cache/revdep-rebuild |
14 |
root@E6510 cache # |
15 |
|
16 |
I don't intend to fight revdep-rebuild so will change and mount directly |
17 |
onto /var, but I wonder what is the concern. |
18 |
|
19 |
Should I also mount directly onto /tmp and /opt? |
20 |
|
21 |
thanks, |
22 |
allan |