Skip to contentSkip to conversation

Empty partition nodes not created (was device node issues with recent mm's and udev)

DISCUSSION Bodo Eggert <[email protected]> 3 participants 4 messages May 4, 2005 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · Joe

Here is the partition table from fdisk, fdisk does run fine.. its just the fact this node is not created that threw me off before.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1           2       16033+   0  Empty
/dev/sdb2   *           6        2431    19486845    b  W95 FAT32
/dev/sdb3               3           5       24097+  83  Linux

Notice, /dev/sdb1 is a Empty partition... in /dev I only have sdb, sdb2, and sdb3. No sdb1. Any help would be appreciated.

Some vendors depend on empty partitions not showing up. That's why this patch was introduced.

BTW: Is there a special reason you why choose "empty"? Is this partition showing up in other systems at all?

Signature · 2 lines
Top 100 things you don't want the sysadmin to say:
45. Was that YOUR directory?
#2 lore raw
Quoted 10 lines · On 5/3/05, Bodo Eggert <[email protected]>…
Quoted 8 lines · Joe

Here is the partition table from fdisk, fdisk does run fine.. its just the fact this node is not created that threw me off before.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1           2       16033+   0  Empty
/dev/sdb2   *           6        2431    19486845    b  W95 FAT32
/dev/sdb3               3           5       24097+  83  Linux
Quoted 5 lines
Quoted 2 lines

Notice, /dev/sdb1 is a Empty partition... in /dev I only have sdb, sdb2, and sdb3. No sdb1. Any help would be appreciated.

Some vendors depend on empty partitions not showing up. That's why this patch was introduced.

It would be interesting to see just how important it is to hide this.

Quoted 2 lines

BTW: Is there a special reason you why choose "empty"? Is this partition showing up in other systems at all?

Actually, yes there is.. its a firmware partition that would normally not be mounted, but in order to dd new firmware versions to it, I depended on the node... which has ceased to exist.

I would like to see an easier workaround then just ignoring it like that, but if its really needed....

Anyways, thanks everyone for the info, its much appreciated.

Joe

#3 lore raw
Quoted 4 lines · Joe

Actually, yes there is.. its a firmware partition that would normally not be mounted, but in order to dd new firmware versions to it, I depended on the node... which has ceased to exist.

If it is firmware, looks unallocated to other systems, bad things might happen if device plugged into windows box? (Assuming USB) You still have 255 numbers to choose from for partition type? :)

--Grant.

#4 lore raw
In reply to Joe
Quoted 12 lines · Joe
Quoted 10 lines · On 5/3/05, Bodo Eggert <[email protected]>…
Quoted 8 lines · Joe

Here is the partition table from fdisk, fdisk does run fine.. its just the fact this node is not created that threw me off before.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1           2       16033+   0  Empty
/dev/sdb2   *           6        2431    19486845    b  W95 FAT32
/dev/sdb3               3           5       24097+  83  Linux
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Notice, /dev/sdb1 is a Empty partition... in /dev I only have sdb, sdb2, and sdb3. No sdb1. Any help would be appreciated.

Some vendors depend on empty partitions not showing up. That's why this patch was introduced.

It would be interesting to see just how important it is to hide this.

The size and position values were quite random, and the useless extra partition caused some problems.

Quoted 6 lines
Quoted 2 lines

BTW: Is there a special reason you why choose "empty"? Is this partition showing up in other systems at all?

Actually, yes there is.. its a firmware partition that would normally not be mounted, but in order to dd new firmware versions to it, I depended on the node... which has ceased to exist.

So it isn't empty.-) I asume it will be in a custom system, so you can hijack the compaq partition type (which was used for a similar purpose).

BTW: If you can do that, you should move the partition to the end of the disk into the slower area of he disk.

Signature · 2 lines
"Bravery is being the only one who knows you're afraid."
-David Hackworth