0

I believe we could use the block device directly to do mkfs or create one partition through parted on linux and mkfs on top of the primary partition. However, I'm not sure if there is any recommendations on these two approaches or there is any trivial caveats on top of it. Any comment or suggestion is appreciated.

For my specific case, I just want to use the disk as data partition by itself and build xfs on that disk volume.

1 Answers1

0

There are some downsides to a disk-wide file-system, but personally, I do not regard them as issues.

  • It is unusual.
  • Not all operating systems support them.

Side-note: Allegedly, Windows and MacOS support and/or recommend device-wide file-systems on USB thumb-drives. I never read anything regarding internal disks, though. Many environments require a partition table, i.e. UEFI for booting a system off that disk. But that is not what you are going for. In case someone an actual real-world issue, please let me know in the comments.

Hermann
  • 6,148