Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readjust the instructions regarding linked files #2389

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/books/admin_guide/07-file-systems.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,8 @@ Their main features are:

| Link types | Description |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| soft link file | Represents a shortcut similar to Windows. It has permission of 777 and points to the original file. When the original file is deleted, the linked file and the original file are displayed in red. |
| Hard link file | Represents the original file. It has the same *inode* number as the hard-linked file. They can be updated synchronously, including the contents of the file and when it was modified. Cannot cross partitions, cannot cross file systems. Cannot be used for directories. |
| soft link file | This file is similar to a shortcut for Windows. It has permission of 0777 and points to the original file. When the original file is deleted, you can use `ls -l` to view the output information of the soft link file. In the output information, the file name of the soft link appears in red, and the pointed original file appears in red with a flashing prompt. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops @jimcat8 You are missing the cell end marker on line 785. (|)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might also add that the cell contents will now be very long. It's best to shorten descriptions in a table. For line 785, I think starting with "Similar to a shortocot for Windows" and make the sentence more concise from there as well. If you want to expand on it, use an annotation outside of the table. I think you can do this best, by keeping the bulk of what the author has for the soft link file, and then add a note after the table if you want to expound on the explanation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sspencerwire I checked it and the format is correct.

sspencerwire marked this conversation as resolved.
Show resolved Hide resolved
| Hard link file | This file represents different file mappings that occupy the same *inode* number. They can be updated synchronously (including file content, modification time, owner, group affiliation, access time, etc.). Hard linked files cannot span partitions and file systems, and cannot be used on directories. |

Specific examples are as follows:

Expand Down
Loading