You are not logged in.
Pages: 1
Hi
I accidently ran this command on flash disk partition.
# fdisk -l /dev/sdc1
Disk /dev/sdc1: 9 GiB, 9657368576 bytes, 18862048 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: dos
Disk identifier: 0x6f20736b
Device Boot Start End Sectors Size Id Type
/dev/sdc1p1 778135908 1919645538 1141509631 544.3G 72 unknown
/dev/sdc1p2 168689522 2104717761 1936028240 923.2G 65 Novell Netware 386
/dev/sdc1p3 1869881465 3805909656 1936028192 923.2G 79 unknown
/dev/sdc1p4 2885681152 2885736650 55499 27.1M d unknown
Partition table entries are not in disk order.Kindly inform what is /dev/sdc1pX?
Most importantly this is a complaint that the ordering is wrong, and also the values are all out of the limits of 9GB.
Thankyou
Last edited by makh (2017-11-13 17:33:30)
OS: Arch &/ Debian
System: LENOVO ThinkPad E14
Desktop: Xfce
Offline
Moving to NC...
Offline
It means that the sdc1 partition header contains some junk that looks like a partition table with nonsense entries.
Is this supposed to be formatted with some same filesystem?
sudo file -s /dev/sdc1Offline
Isnt this a small error in the software then?
OS: Arch &/ Debian
System: LENOVO ThinkPad E14
Desktop: Xfce
Offline
What software? It seems to be a small error in the user.
There may be valid use cases for putting a partition table on an existing partition. I don't know of any off hand, but why would software authors intentionally make that impossible to do? There is a unix philosophy which I can't currently find the original source of that says basically that one should not prevent users from doing foolish things as that also prevents them from doing creative things.
If you want to be creative and find a use case for partitioning a partition, great! If you want to be foolish and try to treat a partition as if it had been partitioned, that's on you.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
There is a unix philosophy which I can't currently find the original source of that says basically that one should not prevent users from doing foolish things as that also prevents them from doing creative things.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn, in Introducing Regular Expressions (2012) by Michael Fitzgerald
Offline
Thanks, that's it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Severely depends on missing answer to
Is this supposed to be formatted with some same filesystem?
sudo file -s /dev/sdc1
If the file you read has undefined content this could be everything. Applying the "correct" interpretation you may be lucky and can watch it as the latest - let's say "blockbuster".
There's btw. absolutely nothing wrong with random files containing a partition table, disk images are a prominent and regular example.
Offline
Pages: 1