Nedavno som si instaloval ubuntu, pritom som rozdelil disk /dev/sda na 4 casti v tomto poradi:
1. /boot
2. /
3. /home
4. swap
Dnes som som sa pozrel na vypis z df a daval dost divne veci. /home mam vraj na sda4 (kde ma/bol swap):
/dev/sda3 68G 6,4G 58G 10% /
/dev/sda4 386G 9,4G 357G 3% /home
Tak som sa pozrel co vypisal fdisk:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 208813+ 83 Linux
/dev/sda2 60037 60801 6144862+ 82 Linux swap / Solaris
/dev/sda3 27 8950 71682030 83 Linux
/dev/sda4 8951 60036 410347520 83 Linux
A tomuto uz vobec nerozumiem. Rozdelenie je rovnake ako som mal, avsak preco ma posledna swap particia (60037-60801) pridelene /dev/sda2?? Nema ist nahodou poradie particii v dev zaradom?
Poradie je stale rovnake, aj po vypnuti a zapnuti.
Pridavam este vypisy:
$ ls -l /dev/disk/by-path/
lrwxrwxrwx 1 root root 9 2011-06-08 15:34 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4
$ ls -l /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 e288d4fa-bda6-4bf3-85e5-c4d4f2370d98 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 4cefd7f2-d457-43fd-9af5-a99700350ba2 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 4ec6272a-8551-40f3-a1b1-3e10984f3e69 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-06-08 11:04 7259cda6-356e-4ef8-a0ba-dc54d731a42b -> ../../sda2
Ako viem dat poradie v /dev do povodneho stavu? A preco to vlastne nastalo?