View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sat Apr 11, 2015 6:17 pm Post subject: fdisk - defaults to non Dos but yet uses Dos disklabel |
|
|
My version of fdisk man page states default is DOS mode is disabled.... but why is it stating 'Created a new DOS disklabel'?
localhost four # fdisk /dev/sdc
Welcome to fdisk (util-linux 2.24.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x780f1aa7.
Command (m for help): |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Sun Apr 12, 2015 2:06 am Post subject: |
|
|
"dos" mode means partitions aligned to cylindar boundary. non-dos mode partitions aligned to physical sector size. It's no relative to MBR or GPT format. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Sun Apr 12, 2015 12:42 pm Post subject: |
|
|
s4e8
Its not that simple. With a GPT disklabel you get
Code: | Disklabel type: gpt
Disk identifier: 518AEFA3-E36E-40F3-8AB9-D55B7CF072AD |
and the protective MSDS disklabel is
Code: | Disklabel type: dos
Disk identifier: 0x00000000 |
fdisk: | Created a new DOS disklabel with disk identifier 0x780f1aa7. | Looks like a real MSDOS disk lable.
There are big differesces on disk betwen GPT and MSDOS disklables too.
Run or so it really knows what you want. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Sun Apr 12, 2015 2:20 pm Post subject: |
|
|
NeddySeagoon wrote: | s4e8
There are big differesces on disk betwen GPT and MSDOS disklables too.
Run or so it really knows what you want. |
That's true, GPT is not dos disklabel, but fdisk never defaut to GPT (even with disk >2T, it default DOS disklabel instead GPT), it default to non-DOS aligned mode only. If you need GPT, you must change it explicitly. |
|
Back to top |
|
|
|