protected] ~]# mke2fs-j-L "logical"-B 2048-i 4096/DEV/HDB5# The results are roughly similar to the example one ~ but the block size and inode count will change!The above is the command function of MKE2FS, that is, MKE2FS default is formatted as EXT2 format, if the -j parameter is ext3 format, can only format the two formats;And for MKFS is not only the format of ext2 and ext3 two formats, it can be formatted as other file system formats, MKFS is a set of many functions integrated command, you c
not need to occupy memory. But because it is written directly to the hard disk, the time to create the filesystem system grows.-L indicates a volume label, similar to an alias-j creating a file system with logging capabilities Ext3-I an inode occupies a number of bytes or This parameter is a percentage,-n Specifies how many inode a file system contains-I directly specifies the byte space occupied by the Inode-O [^]feature turn on or off a feature whe
partition tool2) formattingformatting commands3) Mount use2. Low-Memory Swap solutionIf this is the current memory usage (assuming that the memory is not enough)1) Create a partition2) Modify the partition file system IDP Print Current partition, W save exit3) format the swap partition and start the swap partition. Execute free to see the swap memory growth.4) mount (Swap partition mount point fill Swap, mount the first line can write/DEV/SDC2 can also write the UUID of the partition)3. Example
Linux disk formatting tutorial, how to query the partition format ?, Linux partition
Linux supports many partition formats. How can I query them?
You can use mkfs. ext4/dev/sdb1 or mke2fs-t ext4/dev/sdb1.
Mkfs is followed by the partition format. If the format is re-formatted, the-f parameter must be added.
After the partition is formatted, You need to mount the partition for normal use. before mo
Want to go to NTFS format without formatting the hard drive? The practice is very simple, using the Convert command with Windows to achieve
1. Click the Start menu to open the Run dialog box.
2. Enter "cmd" in the dialog box and return to the command prompt window.
Convert X:/fs:ntfs
where driveletter represents the partition letter of the file system to be converted. For example, you would convert C disk
/sdb.After completing the above steps, the external storage has been mounted to the/mnt/sdb file directory, and users can access the files in the external storage by accessing/MNT/SDB. However, after the system shutdown, the external storage will be automatically uninstalled, the user in the boot system to be manually mounted to the/MNT/SDB4. Configure system files to automatically mount the external storage when the system startsModify the/etc/fstab file at the end of the file in a row, enter "
file system type in MINOR creates a file system of type "file system type"MkpartPartition type [file system type] Start point termination pointCreate a partitionMKPARTFS partition type file system type start point end point Create a partition with a file systemMove MINOR start point moving the partition numbered MINORName MINOR names the partition with number MINOR named "Name"Print[MINOR]Print partition table, or partitionQuit quitting the programRescue start point end point saves missing part
File names for various devices under LinuxExperiment:1) Add a 15G SCSI hard disk before opening the Linux system2) Turn on the system, right click on the desktop, open the terminal3) for the newly added hard disk partition, a primary partition size of 5G, the remaining space to the extended partition, on the extended partition divided 1 logical partitions, the size of 5G4) format primary partition as EXT3 s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.