Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Dec 06, 2023 10:20 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - How to get UFS filesystem block size in FreeBSD
Author Message
Post subject: How to get UFS filesystem block size in FreeBSD  |  Post Posted: Mon Jul 22, 2013 9:49 am
How to get UFS filesystem block size in FreeBSD using "dumpfs" utility

Code:
# dumpfs /var/ | grep "bsize"
bsize   16384   shift   14      mask    0xffffc000
maxbsize 16384  maxbpg  2048    maxcontig 8     contigsumsize 8
sbsize  2048    cgsize  16384   csaddr  3000    cssize  2048


Default UFS filesystem block size in FreeBSD is 16 K ( and from my reading, this is a decent value, but care needs to be taken when deploying Postgresql on FreeBSD - both UFS block size and Postgresql blocks should be at the same size).
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO