|
|
How can I know "blocksize" of os
Hello...
Thank you for your advice every day..^^;
I want to know blocksize of os..(SunOS).
What are the command to know it..?
pls. help me...Thanks.
Regards..
|
|
0
|
|
|
|
Reply
|
Yeounkun
|
1/20/2005 1:57:51 AM |
|
In article <csn2m1$9us$1@news1.kornet.net>, Yeounkun, Oh wrote:
>I want to know blocksize of os..(SunOS).
>What are the command to know it..?
Set it to whatever you like with "dd".
Behaviour under negative values is undefined and cannot be recommended.
--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
7.031: OnACPower returned value( 0x1 ) which is Equal To 0x1
|
|
0
|
|
|
|
Reply
|
elvis
|
1/20/2005 2:59:47 AM
|
|
On Thu, 20 Jan 2005, Yeounkun, Oh wrote:
> I want to know blocksize of os..(SunOS).
> What are the command to know it..?
OSes don't have a blocksize; that's a characteristic of a file system.
--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming"
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
|
|
0
|
|
|
|
Reply
|
Rich
|
1/20/2005 4:40:54 AM
|
|
In article <csn2m1$9us$1@news1.kornet.net>,
Yeounkun, Oh <rainbow@oniontech21.co.kr> wrote:
>
>I want to know blocksize of os..(SunOS).
>What are the command to know it..?
Do you mean the pagesize (the size of a page of memory under SunOS)?
/usr/bin/pagesize
Or perhaps the blocksize of a filesystem under SunOS (can vary
depending on how it was created)?
fstyp -v /dev/rdsk/c0t0d0s2 | head -20
Rob
|
|
0
|
|
|
|
Reply
|
restamp
|
1/20/2005 5:38:03 AM
|
|
[Yeounkun, Oh]:
>
> I want to know blocksize of os..(SunOS).
> What are the command to know it..?
I think you mean "page size", how smallest unit of memory allocation
for the VM.
$ getconf PAGESIZE
8192
this will be 4096 on pre-UltraSPARC and on x86. see also sysconf(3C)
if you need this value from within your programs.
--
Kjetil T.
|
|
0
|
|
|
|
Reply
|
Kjetil
|
1/20/2005 7:34:54 AM
|
|
|
4 Replies
315 Views
(page loaded in 0.558 seconds)
|
|
|
|
|
|
|
|
|