LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   what is this thing /dev/dm-[0-6] ? :scratch: (https://www.linuxquestions.org/questions/linux-kernel-70/what-is-this-thing-dev-dm-%5B0-6%5D-scratch-569028/)

marozsas 07-13-2007 07:25 AM

what is this thing /dev/dm-[0-6] ? :scratch:
 
Hi fellows,

In my new Fedora 7 I notice there are a few new things.
For instance, theses /dev/dm-[0-6] devices that are showed in a "fdisk -l" command.

What is it ?
What is its purpose ?

I don't have a crypt device or a RAID system. As far as I know, the device mapper is used to map a crypt-loop device or a raid system, but it is not the case.

:scratch:

nx5000 07-13-2007 08:06 AM

You don't have lvm? Lvm is based on device mapper.
As you said, its also used for loop disks: my /krypt is the mount point for /dev/dm0, dm0 being a map on /dev/hda6

try
dmsetup ls
gives me this:
_dev_hda6 (254, 0)

marozsas 07-13-2007 08:23 AM

Hi nx5000 !

Yes, I forgot I have a LVM in place. It is just one disk, one LVM partition, which is the default in Fedora7, so I forgot about it.
And thanks for the (new for me) command, dmsetup.

cheers,

nx5000 07-13-2007 08:24 AM

No problem!
Cheers!


All times are GMT -5. The time now is 11:42 AM.