Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to make a part of a block device to be seen as a separate block device (in a similar way block 'devices' are created for partitions)? Unfortunately, I can't mount it through loop device due to poor performance. Also, I can't add a partition table to the disk. Hardcoding necessary information into the kernel is a possible option if someone shows where to put what.

share|improve this question
up vote 2 down vote accepted

Use addpart (from util-linux) to tell the kernel about partitions on a device.

SYNOPSIS
   addpart device partition start length

DESCRIPTION
   addpart is a program that informs the Linux kernel of new par‐
   tition.

   This command doesn't manipulate partitions on hard drive.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .