1 |
On Monday 12 May 2008, 00:41, Daniel Iliev wrote: |
2 |
|
3 |
> > I am curious why it reads "rootfs" and "/dev/root" in the output of |
4 |
> > df instead of "/dev/hda2" as I have it in my /etc/fstab, and why |
5 |
> > there are two entries. |
6 |
> > |
7 |
> > W |
8 |
> |
9 |
> Alright. Perhaps "man libblkid". |
10 |
> |
11 |
> Which leads me to one *really wild* guess after which I'm out of |
12 |
> ideas. Try refreshing your block device identification cache by: |
13 |
> |
14 |
> rm /etc/blkid.tab* && blkid |
15 |
|
16 |
FWIW, I've always seen those entries (or something quite similar) |
17 |
in /proc/mounts (for a long time), but never in the output of df. |
18 |
|
19 |
$ cat /proc/mounts |
20 |
rootfs / rootfs rw 0 0 |
21 |
/dev/root / reiserfs rw,noatime 0 0 |
22 |
proc /proc proc rw,nosuid,nodev,noexec 0 0 |
23 |
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 |
24 |
udev /dev tmpfs rw,nosuid 0 0 |
25 |
devpts /dev/pts devpts rw,nosuid,noexec 0 0 |
26 |
/dev/sda7 /home ext3 rw,noatime,data=ordered 0 0 |
27 |
none /dev/shm tmpfs rw 0 0 |
28 |
none /proc/bus/usb usbfs rw 0 0 |
29 |
|
30 |
$ df |
31 |
Filesystem 1K-blocks Used Available Use% Mounted on |
32 |
/dev/sda8 18899832 6396036 12503796 34% / |
33 |
udev 10240 100 10140 1% /dev |
34 |
/dev/sda7 96124904 74332380 16909572 82% /home |
35 |
none 1037040 0 1037040 0% /dev/shm |
36 |
|
37 |
(I haven't switched to baselayout-2 yet). That said, I have no idea why |
38 |
the output of df under baselayout-2 differs (although I assume that the |
39 |
rc-svcdir thing is somehow related to baselayout-2 or openrc). |
40 |
-- |
41 |
gentoo-user@l.g.o mailing list |