HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: File system
Operating System - Linux
1829748
Members
4015
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 12:36 AM
12-04-2007 12:36 AM
File system
1)what is the difference between ext2 and ext3?
2)why exactly file security is being used in linux os?what exactly a user has to follow in file security maintainance?
2)why exactly file security is being used in linux os?what exactly a user has to follow in file security maintainance?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 01:52 AM
12-04-2007 01:52 AM
Re: File system
1.
There is really only one difference between ext2 and ext3, and that is that ext3 uses a journal to prevent filesystem corruption in the case of an unclean shutdown (ie. before the filesystem is synced to disk). That makes ext3 a bit slower than ext2 since all metadata changes are written to the journal, and then flushed to disk, but on the other hand you don't risk having the entire filesystem destroyed at power failure or if a person turns the computer off uncleanly. You don't have to check the filesystem after an unclean shutdown either.
Ext3 has three levels of journalling. etadata (ie. internal filesystem structures) are always journalled, so that the filesystem itself is never corrupted. How ordinary data is written to the file system is controllable, though. The default option is the "ordered" mode, which causes file contents to be written to the filesystem before metadata is even committed to the journal. The highest reliable mode is called the "journal" mode, which causes file data to be committed to the journal before it is flushed to its final place, like the metadata. The least reliable mode, but rumoured to be the fastest, is called the "writeback" mode, which makes no promises at all regarding the consistency of file data. Only metadata is output reliably in writeback mode.
2.
Why security is being used is a difficult question to answer as such, but it is as simple as saying "because security is required on servers & even personal computers".
Every file / directory in Linux has 3 basic permissions, read, write, execute; represented as r, w, x. There are 3 basic types of users: owner, group & other; represented by u, g, o. Suppose you have created a simple text file called textfile. You will have all the rights as the owner (rwx), i.e. u = rwx. Group (g) may have read access only, i.e. g = r--. Others may also have read only rights; i.e. o = r--.
There are many web sites with detailed information about the file systems, file permissions. If you use google you will find numerous ones. This is just one of what I found.
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html
Hope this helps.
There is really only one difference between ext2 and ext3, and that is that ext3 uses a journal to prevent filesystem corruption in the case of an unclean shutdown (ie. before the filesystem is synced to disk). That makes ext3 a bit slower than ext2 since all metadata changes are written to the journal, and then flushed to disk, but on the other hand you don't risk having the entire filesystem destroyed at power failure or if a person turns the computer off uncleanly. You don't have to check the filesystem after an unclean shutdown either.
Ext3 has three levels of journalling. etadata (ie. internal filesystem structures) are always journalled, so that the filesystem itself is never corrupted. How ordinary data is written to the file system is controllable, though. The default option is the "ordered" mode, which causes file contents to be written to the filesystem before metadata is even committed to the journal. The highest reliable mode is called the "journal" mode, which causes file data to be committed to the journal before it is flushed to its final place, like the metadata. The least reliable mode, but rumoured to be the fastest, is called the "writeback" mode, which makes no promises at all regarding the consistency of file data. Only metadata is output reliably in writeback mode.
2.
Why security is being used is a difficult question to answer as such, but it is as simple as saying "because security is required on servers & even personal computers".
Every file / directory in Linux has 3 basic permissions, read, write, execute; represented as r, w, x. There are 3 basic types of users: owner, group & other; represented by u, g, o. Suppose you have created a simple text file called textfile. You will have all the rights as the owner (rwx), i.e. u = rwx. Group (g) may have read access only, i.e. g = r--. Others may also have read only rights; i.e. o = r--.
There are many web sites with detailed information about the file systems, file permissions. If you use google you will find numerous ones. This is just one of what I found.
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 01:45 AM
12-06-2007 01:45 AM
Re: File system
1. wiki learns us;
The ext3 file system adds, over its predecessor:
* A journal
* Tree-based directory indices for directories spanning multiple blocks
* Online file system growth
now, the most lauded feature of ext3 is the journaling support.
http://en.wikipedia.org/wiki/Ext3
2. each current OS has file level security. it is basic policy to do this on multi user systems, such as unix.
it requires no maintenance, a default install of a modern linux system will have good default file security settings.
you might as well ask why people put locks on doors.
The ext3 file system adds, over its predecessor:
* A journal
* Tree-based directory indices for directories spanning multiple blocks
* Online file system growth
now, the most lauded feature of ext3 is the journaling support.
http://en.wikipedia.org/wiki/Ext3
2. each current OS has file level security. it is basic policy to do this on multi user systems, such as unix.
it requires no maintenance, a default install of a modern linux system will have good default file security settings.
you might as well ask why people put locks on doors.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP