You are not logged in.

#1 2017-11-12 19:43:20

makh
Member
Registered: 2011-10-10
Posts: 305

[Discussed] What is /dev/sdc1p1 partition?

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

#2 2017-11-12 19:49:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Discussed] What is /dev/sdc1p1 partition?

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-11-12 21:23:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [Discussed] What is /dev/sdc1p1 partition?

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/sdc1

Offline

#4 2017-11-13 11:44:59

makh
Member
Registered: 2011-10-10
Posts: 305

Re: [Discussed] What is /dev/sdc1p1 partition?

Isnt this a small error in the software then?


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#5 2017-11-13 12:31:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,544
Website

Re: [Discussed] What is /dev/sdc1p1 partition?

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

#6 2017-11-13 13:43:16

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Discussed] What is /dev/sdc1p1 partition?

Trilby wrote:

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

#7 2017-11-13 14:30:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,544
Website

Re: [Discussed] What is /dev/sdc1p1 partition?

Thanks, that's it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#8 2017-11-13 14:44:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [Discussed] What is /dev/sdc1p1 partition?

Severely depends on missing answer to

seth wrote:

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

Board footer

Powered by FluxBB