Wondering about output on mounted file system.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
cdysthe
Level 3
Level 3
Posts: 111
Joined: Sun Oct 05, 2008 12:18 pm

Wondering about output on mounted file system.

Post by cdysthe »

Hi,

In fstab on a fresh install LMDE machine I have the following:

# /dev/sda5
UUID=fbcdccf4-f329-4656-8ac2-7cff4c158404 /boot ext4
rw,errors=remount-ro 0 0
# /dev/sda6
UUID=37de7813-0f65-41dd-b4ae-55912e454d0f / ext4
rw,errors=remount-ro 0 1
# /dev/sda7
UUID=4f2719cd-5e8b-4440-85d9-80db2a7e528a /home ext4
rw,errors=remount-ro 0 0
# /dev/sda8
UUID=38d6809f-8c95-43c8-9a22-23fa1cbecdd4 swap swap sw 0 0

When I do 'df' or look in System Monitor I see the following for file
systems:

/dev/disk/by-uuid/37de7813-0f65-41dd-b4ae-55912e454d0f 10896648 5101224
5235248 50% /
/dev/sda5 769760 44844 684980 7% /boot
/dev/sda7 599139368 344433792 224264420 61% /home

The output of 'blkid' is:
/dev/sda8: UUID="38d6809f-8c95-43c8-9a22-23fa1cbecdd4" TYPE="swap"
/dev/sda5: UUID="fbcdccf4-f329-4656-8ac2-7cff4c158404" TYPE="ext4"
/dev/sda6: UUID="37de7813-0f65-41dd-b4ae-55912e454d0f" TYPE="ext4"
/dev/sda7: UUID="4f2719cd-5e8b-4440-85d9-80db2a7e528a" TYPE="ext4"

Why is /dev/sda6 indicated as 'dev/disk/by-uuid' and the other two simply as /dev/sda5 and /dev/sda7?

User avatar
viking777
Level 14
Level 14
Posts: 5113
Joined: Mon Dec 01, 2008 11:21 am

Re: Wondering about output on mounted file system.

Post by viking777 »

The only strange thing there is that you get /dev/disk/by-uuid/ for the output of your / partition in df, I don't, I get the the device address, /dev/sda2 in my case. Personally I hate uuid's and wish they would just go away and die, in fact, maybe that accounts for the difference between us because my / file system is mounted by LABEL not uuid (along with everything else in fstab).

I don't see anything to worry about in your case though.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).

User avatar
cdysthe
Level 3
Level 3
Posts: 111
Joined: Sun Oct 05, 2008 12:18 pm

Re: Wondering about output on mounted file system.

Post by cdysthe »

viking777 wrote:The only strange thing there is that you get /dev/disk/by-uuid/ for the output of your / partition in df, I don't, I get the the device address, /dev/sda2 in my case. Personally I hate uuid's and wish they would just go away and die, in fact, maybe that accounts for the difference between us because my / file system is mounted by LABEL not uuid (along with everything else in fstab).

I don't see anything to worry about in your case though.
Thanks. I have never seen it before though. All the partitions have labels also and on the other machine with the same setup all three partitions are inficated using their dev not the uuid. I also hate uuid btw. Also, I got an explanation on the Debian mailing list and thought I would share it here in case someone shoudl be interested:

"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".

Post Reply

Return to “Installation & Boot”