Before running the operation below, I would like to verify that the code to create the file system in a logical volume is correct. The concern relates to the use of the hyphen "-".
The website I am using for the refernce material is
ArchLinux.org.
My fstab file has the line:
/dev/mapper/ubuntu--vg-root where the logical group is "
ubuntu--vg" and the volume is "
root". I plan to shrink root and create a new volume "
newhome". Which will eventually become the "
home" directory. After creating the new volume, the file system needs to be established.
The example provided by ArchLinux for creating the file system is below:
Code:
mkfs.ext4 /dev/mapper/VolGroup00-lvolhome
note the hyphen above. The version I would plan to use is shown below.
Code:
mkfs.ext4 /dev/mapper/ubuntu--vg-newhome
Will the double hyphens in the code above present a problem?