A hard drive was added under the virtual machine.
You now need to partition and format your hard disk.
Typing the following command FDISK/DEV/SDC
And then in the pop-up dialog box, typing n (new partition)
As shown in the following figure
Type P
and then type 1
And then type +5g
and then type W
You can create a primary partition of 5G, and the partition number is SDC1
Leave the rest to the default.
If you want to create an extended
(Hardware)4, ETC: System configuration file directory5, Lib: function library file directory, write commands as functions, reduce the volume of Linux system6. Media mnt misc Three empty directories to mount external storage devices7, Pros SYS is the memory mount point, cannot write the data inside8. tmp Temp Data Dire
XFS: Advanced log file system developed by SGI to support ultra-large capacity files
JFS:IBM the log file system used by AIX
ReiserFS: File system based on the balanced tree structure
UDF: rewritable data Disc
Use the fdisk and partprobe commands in Linux to create and format partitions without restarting the system (1)
Due to work needs, I have been learning Linux for some time. To learn a new knowledge, I like to learn from a book or a certain video system, so that I can have a
Linux Kernel series-11. ELF format for operating system development, linuxelf
Shows the structure of the ELF file:
The ELF File consists of four parts: ELF header, Program header table, Section (Sections), and Section header table ).
In fact, a
first you need to know that in a Linux system, the file type is not related to the suffix name, the suffix is only for the convenience of identification, So the compressed package you download may be in tar.gz format, or it may be tar.bz2 or TAR.XZ format, because you may be
Linux 4-disk and file system management and linux Disk System Management
1. Some basic definitions
1. superblock: record the overall information of this filesystem, including the total inode/block volume, usage, remaining amount, and fil
Introduction: This article discusses three main executable file formats under the Unix/linux platform: a.out (Assembler and link editor output assembler and link editor outputs), COFF (Common Object File format Common Object File format
1 File system
1 operating system to manage files and data through the file system, disk or partition needs to create a filesystem before it can be used for the operating system, the process of creating a
The format of line breaks for DOS/Windows and Linux/UNIX files is different. DOS/Windows-based text files have a Cr (line breaks) and LF (line breaks) at the end of each line ), UNIX text only has one line feed.
1) Move the files in DOS/Windows to Linux/Unix
Although manyProgramWe don't care about the DOS/Windows format
Under Linux, the target file, the shared object file, and the executable file are stored using the elf file format. After compiling, the program outputs the target file, which is then l
is used to create the Tb_employeeinfo table, and the generated script file is named Example.sql.(2) The INIT function is used to output information on the screen, and the CreateTable function is used to create the data table.(3) At the end of the sh file, all the functions contained in this file are listed sequentially, as the functions included in this
Linux Ext Series File system
Superblock (super fast), Superblock is a place to record information about the entire file system, and Superblock, there is no such file system. The ma
Tags: generating output content core obj size target global variable entry MonELF file typeELF (executable linkable format) is the executable file format under Linux, as in the PE (portable executable) format under Windows, COFF (
2011-05-18 wcdj
Problem:When you run the cat-V filename command in Linux to view files written in Windows, you can find that each line ends with a ^ m character. An unexpected error occurs when an application written in Linux reads a file containing ^ m characters. Therefore, you need to convert the file
.
Look at the partition again, come out with a/dev/sdb1 area, this 1 is what we specified earlier, if we specify 2, it becomes sdb2.
The code is as follows
Copy Code
[ROOT@DB1/]# Fdisk-l disk/dev/sda:10.7 GB, 10737418240 bytes 255 heads, Sectors/track, 1305 cylinders Units = Cylinders of 16065 * 8225280 bytes Device Boot Start End Blocks Id System /DEV/SDA1 * 151 1305 9277537+
contents of the previous directory will not be available after mounting.This is true for the mounting of file systems created by other operating systems. However, it is necessary to understand that the format of the file system used by the CD, floppy disk, and other operating systems is not the same as the
Linux Log default time format: Dec 16 09:52:01, looks not accustomed to, modified to 2014-12-16 09:52:01 feel much more comfortable.Steps:Vi/etc/rsyslog.conf# define your own localized time format$template MyFormat, "% $NOW%%timestamp:8:15%%hostname%%syslogtag%%msg%\n"# Use default timestamp format# $ActionFileDefaultT
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.