LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2002, 08:33 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
inode size for Linux and BSD?


What is inode size for Linux Red Hat and Free BSD 4.6? 2 MB?
 
Old 07-30-2002, 08:38 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: inode size for Linux and BSD?

Quote:
Originally posted by mikeshn
What is inode size for Linux Red Hat and Free BSD 4.6? 2 MB?
Usually by default its 4096.. Not sure about BSD though, sure its the same.
 
Old 07-30-2002, 11:04 PM   #3
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
I think it can be changed during kernel compilation. I would also like to know how exactly to do it. Any help?
--Sarin
 
Old 07-31-2002, 04:52 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
When your making your filesystem, you can specify the block size, which is the inode size in respect:

mke2fs -b 1024 /dev/hda1

its the -b flag that specifies this.
man mke2fs for more details.

Valid block sizes are 1024, 2048 and 4096 respectively.

Also during the install of Slackware, it will ask what size you want to use. Usually you want to use 4096 if you have a larger hard drive, if your using a small hard drive and want to save more space, use a smaller number. I don't believe there is another way to change your inode size unless after the filesystem is already created.. but don't quote me on that one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resize / change inode size for partition? tinksmartbstupi Linux - Software 2 05-24-2009 08:54 AM
Can I increase size of inode in ext2fs ? vinya Linux - Newbie 0 04-19-2004 09:35 PM
Smallest Size for BSD install?? nick_th_fury *BSD 2 09-24-2003 10:29 AM
question about inode size PTBmilo Linux - General 2 03-02-2003 02:20 PM
Choose Free BSD or Open BSD? Which one? explorer1979 *BSD 5 12-15-2002 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration