04-28-2008
y are you changing the block size to zero?
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
Somehow i have forgotten a comand that displays me the block size of the unix filesystem. Can someone letme know this command
regards
penguin (5 Replies)
Discussion started by: linuxpenguin
5 Replies
2. Filesystems, Disks and Memory
AIX 4.3.3
How can I find the os block size?
How can I change the OS Block Size?
When and where does the os block size get set?
I am running oracle 8.1.7 and am under the impression I need to set my os block size = oracle block size which is 8k.
Any insight on this would be... (1 Reply)
Discussion started by: kburrows
1 Replies
3. Solaris
how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies
4. UNIX for Dummies Questions & Answers
Hello Unix guru's
I want to check my OS Block size for the Solaris 8
Following is one of the line from df -g command.
Can anybody help to interpret the same.
/u03 (/dev/vx/dsk/oradg/vol03): 8192 block size 8192 frag size
205463552 total blocks 50433792... (1 Reply)
Discussion started by: Dilippatel
1 Replies
5. Shell Programming and Scripting
i wrote this code to figure if two identical directories on different devices one on a partition and one on a loop had the same total size for -size +0 file only in recrusive tree form.:
awk '$1 ~ /^-/{total=i;i<=NR;i+=$5;print $0}END{print total}'
file1.... .
the output of du -hb was slightly... (2 Replies)
Discussion started by: moxxx68
2 Replies
6. UNIX for Dummies Questions & Answers
If I execute this command:
$ ls -lt | awk '{print $5}' | sort -nr |head -1
it returns the following value
57441881
If I execute this command:
$ ls -s | sort -nr | head -1 | cut -d" " -f1
it returns the same file but now in block size
112208
Is there... (1 Reply)
Discussion started by: mh53j_fe
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
drwxr-xr-x 2 root root 4096 May 31 14:47 test
Please let me know here 4096 indicating what?
Thanks & Regards,
Bache (1 Reply)
Discussion started by: bache_gowda
1 Replies
8. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
9. Red Hat
Hi Guys,
I am running Linux 2.6.18-164.el x86_64 how do i check the block size?
Thanks in advance... (1 Reply)
Discussion started by: Phuti
1 Replies
10. HP-UX
Accordingly a lot of manuals - if you have block size 8KB and trying to write a 1KB file to the block, as result you waste 7KB of the block space. But recently I noticed about Fragments of File Block. In same case if you have File Block 8KB and Fragment size 1KB - you can save your block space,... (6 Replies)
Discussion started by: jess_t03
6 Replies
LEARN ABOUT FREEBSD
getbsize
GETBSIZE(3) BSD Library Functions Manual GETBSIZE(3)
NAME
getbsize -- get preferred block size
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h>
char *
getbsize(int *headerlenp, long *blocksizep);
DESCRIPTION
The getbsize() function returns a preferred block size for reporting by system utilities df(1), du(1), ls(1) and systat(1), based on the
value of the BLOCKSIZE environment variable. BLOCKSIZE may be specified directly in bytes, or in multiples of a kilobyte by specifying a
number followed by ``K'' or ``k'', in multiples of a megabyte by specifying a number followed by ``M'' or ``m'' or in multiples of a gigabyte
by specifying a number followed by ``G'' or ``g''. Multiples must be integers.
Valid values of BLOCKSIZE are 512 bytes to 1 gigabyte. Sizes less than 512 bytes are rounded up to 512 bytes, and sizes greater than 1 GB
are rounded down to 1 GB. In each case getbsize() produces a warning message.
The getbsize() function returns a pointer to a null-terminated string describing the block size, something like ``1K-blocks''. The memory
referenced by headerlenp is filled in with the length of the string (not including the terminating null). The memory referenced by
blocksizep is filled in with block size, in bytes.
SEE ALSO
df(1), du(1), ls(1), systat(1), environ(7)
HISTORY
The getbsize() function first appeared in 4.4BSD.
BSD
November 16, 2012 BSD