I'm a FreeBSD newbie, trying to understand how to use disks on FreeBSD.
I have read that Disk Labels can be created using 4 different commands:
[1]tunefs [2]newfs [3]glabel [4]gpart
It is my understanding so far that the "best usage" for each command
(as far as disk labeling is concerned) is as follows:
[1]tunefs -> Used on [EXISTING UFS] file system
[2]newfs -> Used when constructing a [NEW UFS1/2] file system
[3]glabel -> Used to label [SWAP] partition
[4]gpart -> Used for [everything? :|
I find it very difficult to understand what is the most suitable command
to label disks & partitions in various scenarios.
I would greatly appreciate if you could please explain which labeling command
( [1]tunefs [2]newfs [3]glabel [4]gpart ) is most suitable for each scenario?
(perhaps by filling-in the table below)
---------- (Scenario) ----------- MBR / GPT / UFS / swap / FAT / NTFS (file systems)
------------------------------------------------------------------------------------------------------
____NEW FILE SYSTEM
____NEW PARTITION
____NEW DISK
EXISTING FILE SYSTEM
EXISTING PARTITION
EXISTING LABELED DISK
-----------------------------------------------------------------------------------------------------
Thank you!
I have read that Disk Labels can be created using 4 different commands:
[1]tunefs [2]newfs [3]glabel [4]gpart
It is my understanding so far that the "best usage" for each command
(as far as disk labeling is concerned) is as follows:
[1]tunefs -> Used on [EXISTING UFS] file system
[2]newfs -> Used when constructing a [NEW UFS1/2] file system
[3]glabel -> Used to label [SWAP] partition
[4]gpart -> Used for [everything? :|
I find it very difficult to understand what is the most suitable command
to label disks & partitions in various scenarios.
I would greatly appreciate if you could please explain which labeling command
( [1]tunefs [2]newfs [3]glabel [4]gpart ) is most suitable for each scenario?
(perhaps by filling-in the table below)
---------- (Scenario) ----------- MBR / GPT / UFS / swap / FAT / NTFS (file systems)
------------------------------------------------------------------------------------------------------
____NEW FILE SYSTEM
____NEW PARTITION
____NEW DISK
EXISTING FILE SYSTEM
EXISTING PARTITION
EXISTING LABELED DISK
-----------------------------------------------------------------------------------------------------
Thank you!