mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-20 11:15:06 +01:00
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.
This commit is contained in:
parent
2ed0e93787
commit
f001ece905
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<para>A partition is just a range of sectors on a disk drive, delimited by
|
<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
|
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
|
system, typically consisting of a label, directory blocks, data blocks, and
|
||||||
an indexing scheme to locate a particular file on demand. The file system
|
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
|
also helps the OS keep track of free space on the partition, reserve the
|
||||||
|
Loading…
Reference in New Issue
Block a user