[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about output from 'df'.



Dear Christian,

Christian Dysthe wrote:
> UUID=fbcdccf4-f329-4656-8ac2-7cff4c158404 /boot ext4 rw,errors=remount-ro 0 0
> UUID=37de7813-0f65-41dd-b4ae-55912e454d0f /     ext4 rw,errors=remount-ro 0 1
> UUID=4f2719cd-5e8b-4440-85d9-80db2a7e528a /home ext4 rw,errors=remount-ro 0 0

> /dev/disk/by-uuid/3… 10896648 5101224 5235248 50% /
> /dev/sda5 769760 44844 684980 7% /boot
> /dev/sda7 599139368 344433792 224264420 61% /home

> Why is /dev/sda6 indicated as 'dev/disk/by-uuid' and the other two simply
> as /dev/sda5 and /dev/sda7? I can not remember that there has been a
> difference between the three in the df output before.

Likely because the busybox-mount in the initramfs during initial boot
does not dereference the symlink, whereas the later /sbin/mount in
the fully booted system does. This is then reflected in the content
of /proc/mounts, which is read by df.

Best,

Claudius
-- 
Please don’t CC me.


Reply to: