Siduction Forum
Siduction Forum => Software - Support => Topic started by: ayla on 2014/10/13, 23:47:25
-
Hi,
anyone an idea whats that good for?
/dev/sda is my main drive, sda1 is my / and sda2 my /home as sda3 and 4 are / and /home of an older siduction installation I kept. sda5 is /data.
fdisk -l
Disk /dev/sda: 119,2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F4138040-7A1E-45B1-AB65-0A874822EE18
Device Start End Sectors Size Type
/dev/sda1 2048 31459327 31457280 15G Microsoft basic data
/dev/sda2 31459328 73402367 41943040 20G Microsoft basic data
/dev/sda3 73402368 109053951 35651584 17G Microsoft basic data
/dev/sda4 109053952 153094143 44040192 21G Microsoft basic data
/dev/sda5 153094144 250068991 96974848 46,2G Linux filesystem
gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): F4138040-7A1E-45B1-AB65-0A874822EE18
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 2669 sectors (1.3 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 31459327 15.0 GiB 0700 Linux filesystem
2 31459328 73402367 20.0 GiB 0700 Linux filesystem
3 73402368 109053951 17.0 GiB 0700 Linux filesystem
4 109053952 153094143 21.0 GiB 0700 Linux filesystem
5 153094144 250068991 46.2 GiB 8300
greets
ayla
-
I've been noticing the same thing myself for a while:
# fdisk -l
Disk /dev/sda: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 78410F99-5523-4B97-9434-ADBBDF60DB07
Device Start End Sectors Size Type
/dev/sda1 2048 401407 399360 195M EFI System
/dev/sda2 401408 2498559 2097152 1G Microsoft basic data
/dev/sda3 2498560 736501759 734003200 350G Microsoft basic data
/dev/sda4 736501760 820387839 83886080 40G Microsoft basic data
/dev/sda5 820387840 853942271 33554432 16G Linux swap
/dev/sda6 853942272 916856831 62914560 30G Microsoft basic data
/dev/sda7 916856832 1650860031 734003200 350G Microsoft basic data
/dev/sda8 1650860032 1713774591 62914560 30G Microsoft basic data
/dev/sda9 1713774592 2447777791 734003200 350G Microsoft basic data
/dev/sda10 2447777792 2449874943 2097152 1G Microsoft basic data
/dev/sda11 2449874944 2930276351 480401408 229.1G Microsoft basic data
Parted, at least, shows it as flags:
# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA ST1500DM003-9YN1 (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 206MB 204MB fat16 EFI System Partition boot, esp
2 206MB 1279MB 1074MB ext3 msftdata
3 1279MB 377GB 376GB ext4 msftdata
4 377GB 420GB 42.9GB ext4 msftdata
5 420GB 437GB 17.2GB linux-swap(v1)
6 437GB 469GB 32.2GB ext4 msftdata
7 469GB 845GB 376GB ext4 msftdata
8 845GB 877GB 32.2GB ext4 msftdata
9 877GB 1253GB 376GB ext4 msftdata
10 1253GB 1254GB 1074MB ext4 msftdata
11 1254GB 1500GB 246GB ext4 msftdata
It is annoying. Seeing Linux ext4 filesystems shown as Microsoft data.
-
Hello ayla,
what a nice finding!
Why do you see this now?
Fdisk is part of the util-linux package which was largely unmaintained in debian. There only have been non-maintainer-uploads (NMUs) for years. Now the situation has changed and with the new packages came a new fdisk. I think, the old fdisk just wasn't capable.
Okay, and what is this about?
Rod Smith, the author of the "GPT fdisk" variants (gdisk, cgdisk, sgdisk and libparted), has an explanation http://www.rodsbooks.com/linux-fs-code/ .
greetings
musca
-
Thanks for the link musca, it does explain a lot.