diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-24 18:48:50 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-24 18:48:50 +0800 |
commit | f001ece90548140698fe0a2f02c1690aecbb9933 (patch) | |
tree | a8af0125257f71906a99f45333ffb91bad4890d0 /chapter02 | |
parent | 2ed0e93787a61f663503cc28e7db257e73e1685c (diff) |
creatingfilesystem: Refine the condition where a FS is needed
For example, a swap partition does not contain any FS. And, if you want
to clone a partition, you can use
dd if=/dev/<old-partition> of=/dev/<new-partition>
then it's unnecessary to create a FS on new-partition before operation.
This is sometimes faster than creating a new FS, mounting both
partition, then "cp -av" if the old-partition contains many small files.
Diffstat (limited to 'chapter02')
-rw-r--r-- | chapter02/creatingfilesystem.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index bd442d5e2..5eedf456e 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -12,7 +12,7 @@ <para>A partition is just a range of sectors on a disk drive, delimited by boundaries set in a partition table. Before the operating system can use - a blank partition, the partition must be formatted to contain a file + a partition to store any files, the partition must be formatted to contain a file system, typically consisting of a label, directory blocks, data blocks, and an indexing scheme to locate a particular file on demand. The file system also helps the OS keep track of free space on the partition, reserve the |