Using the losetup
command, you can turn a regular file into a pretend block device. You can then partition and format it like any other device.
Is there some way to make Linux pretend that this "device" has a 4K logical sector size?
loop-device
Using the losetup
command, you can turn a regular file into a pretend block device. You can then partition and format it like any other device.
Is there some way to make Linux pretend that this "device" has a 4K logical sector size?
Best Answer
fdisk
has a number of switches:That's not me editorializing ("I have no idea why anybody would want to do so."). Kind of nice someone included functionality they didn't see a use for at the time.