Error when creating file system

When trying to create an ext4 file system I get the following error...

Executing command mkfs -t ext4 -q /dev/f2g/testpartprobe ; mkfs -t ext4 -q /dev/f2g/test ..

Could not stat /dev/f2g/testpartprobe --- No such file or directory

The device apparently does not exist; did you specify it correctly?

I suggest changing the code at line 943 of /usr/share/webmin/fdisk/fdisk-lib.pl from

$cmd .= "partprobe ; $cmd";

to

$cmd .= " ; partprobe $_[1]";

The above change will produce a command similar to...

mkfs -t ext4 -q /dev/f2g/test ; partprobe /dev/f2g/test

See also issue https://www.virtualmin.com/node/19337

Status: 
Closed (fixed)

Comments

Yes, this is a known issue which will be fixed in Webmin 1.580.

Automatically closed -- issue fixed for 2 weeks with no activity.