Hi Yudi,

yudi v wrote:
I created a LV and was going to use the following command to create a file system:

mkfs.ext4 /dev/vg/lv

someone suggested I use:

mkfs.ext4 /dev/mapper/vg-lv


What's the difference?

Perhaps nothing, provided it is mapped properly:

# ls -lart /dev/mapper/vg0-root /dev/vg0/root
brw-rw---- 1 root disk 253, 0 2011-06-24 18:56 /dev/mapper/vg0-root
lrwxrwxrwx 1 root root 20 2011-06-24 18:56 /dev/vg0/root -> /dev/mapper/vg0-root

The "non mapper" version links back to the other one ... so, I think it should be essentially the same -- or rather exactly the same.


Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e53c13c.3020...@affinityvision.com.au

Reply via email to