Sponsored Content
Full Discussion: block size
Special Forums Hardware Filesystems, Disks and Memory block size Post 22237 by gambhi_s on Thursday 30th of May 2002 03:21:26 AM
Old 05-30-2002
In linux , sfdisk -l gives the block size of the file system.

Regards
Gambhi.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

os block size

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

2. Solaris

block size

how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies

3. UNIX for Dummies Questions & Answers

How to know the OS Block size

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

4. Shell Programming and Scripting

block size and du output

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

5. UNIX for Dummies Questions & Answers

Convert block size to mb

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

6. UNIX for Dummies Questions & Answers

block size

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

7. AIX

Block Size

Hi, I try to change the block size from 512 to 0, but it send this message: 0514-068 Cause not know Can someone help me whith this? (3 Replies)
Discussion started by: Ruben78
3 Replies

8. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

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

O/s block size

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

About Block Size and Fragment Size

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
CFDISK(8)						       System Administration							 CFDISK(8)

NAME
       cfdisk - display or manipulate a disk partition table

SYNOPSIS
       cfdisk [options] [device]

DESCRIPTION
       cfdisk is a curses-based program for partitioning any block device.  The default device is /dev/sda.

       Note  that  cfdisk  provides  basic partitioning functionality with a user-friendly interface.  If you need advanced features, use fdisk(8)
       instead.

       Since version 2.25 cfdisk supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any  functionality  for  CHS	(Cylinder-
       Head-Sector) addressing.  CHS has never been important for Linux, and this addressing concept does not make any sense for new devices.

       Since  version  2.25 cfdisk also does not provide a 'print' command any more.  This functionality is provided by the utilities partx(8) and
       lsblk(8) in a very comfortable and rich way.

       If you want to remove an old partition table from a device, use wipefs(8).

OPTIONS
       -h, --help
	      Display help text and exit.

       -L, --color[=when]
	      Colorize the output.  The optional argument when can be auto, never or always.  If the when argument  is	omitted,  it  defaults	to
	      auto.  The colors can be disabled, for the current built-in default see --help output. See also the COLORS section.

       -V, --version
	      Display version information and exit.

       -z, --zero
	      Start with an in-memory zeroed partition table.  This option does not zero the partition table on the disk; rather, it simply starts
	      the program without reading the existing partition table.  This option allows you to create a new partition table  from  scratch	or
	      from an sfdisk-compatible script.

COMMANDS
       The  commands  for  cfdisk can be entered by pressing the corresponding key (pressing Enter after the command is not necessary).  Here is a
       list of the available commands:

       b      Toggle the bootable flag of the current partition.  This allows you to select which primary partition  is  bootable  on  the  drive.
	      This command may not be available for all partition label types.

       d      Delete  the current partition.  This will convert the current partition into free space and merge it with any free space immediately
	      surrounding the current partition.  A partition already marked as free space or marked as unusable cannot be deleted.

       h      Show the help screen.

       n      Create a new partition from free space.  cfdisk then prompts you for the size of the partition you want to create.  The default size
	      is equal to the entire available free space at the current position.

	      The  size  may  be followed by a multiplicative suffix: KiB (=1024), MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB
	      (the "iB" is optional, e.g. "K" has the same meaning as "KiB").

       q      Quit the program.  This will exit the program without writing any data to the disk.

       s      Sort the partitions in ascending start-sector order.  When deleting and adding partitions, it is likely that the	numbering  of  the
	      partitions will no longer match their order on the disk.	This command restores that match.

       t      Change the partition type.  By default, new partitions are created as Linux partitions.

       u      Dump the current in-memory partition table to an sfdisk-compatible script file.

	      The script files are compatible between cfdisk, fdisk, sfdisk and other libfdisk applications.  For more details see sfdisk(8).

	      It  is also possible to load an sfdisk-script into cfdisk if there is no partition table on the device or when you start cfdisk with
	      the --zero command-line option.

       W      Write the partition table to disk (you must enter an uppercase W).  Since this might destroy data on the disk, you must either  con-
	      firm  or	deny the write by entering `yes' or `no'.  If you enter `yes', cfdisk will write the partition table to disk and then tell
	      the kernel to re-read the partition table from the disk.

	      The re-reading of the partition table does not always work.  In such a case you need to inform the kernel about any  new	partitions
	      by using partprobe(8) or partx(8), or by rebooting the system.

       x      Toggle extra information about a partition.

       Up Arrow, Down Arrow
	      Move  the cursor to the previous or next partition.  If there are more partitions than can be displayed on a screen, you can display
	      the next (previous) set of partitions by moving down (up) at the last (first) partition displayed on the screen.

       Left Arrow, Right Arrow
	      Select the preceding or the next menu item.  Hitting Enter will execute the currently selected item.

       All commands can be entered with either uppercase or lowercase letters (except for Write).  When in a submenu or at a prompt, you  can  hit
       the Esc key to return to the main menu.

COLORS
       Implicit coloring can be disabled by creating the empty file /etc/terminal-colors.d/cfdisk.disable.

       See terminal-colors.d(5) for more details about colorization configuration.

       cfdisk does not support color customization with a color-scheme file.

ENVIRONMENT
       CFDISK_DEBUG=all
	      enables cfdisk debug output.

       LIBFDISK_DEBUG=all
	      enables libfdisk debug output.

       LIBBLKID_DEBUG=all
	      enables libblkid debug output.

       LIBSMARTCOLS_DEBUG=all
	      enables libsmartcols debug output.

       LIBSMARTCOLS_DEBUG_PADDING=on
	      use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG.

SEE ALSO
       fdisk(8), parted(8), partprobe(8), partx(8), sfdisk(8)

AUTHOR
       Karel Zak <kzak@redhat.com>

       The current cfdisk implementation is based on the original cfdisk from Kevin E. Martin (martin@cs.unc.edu).

AVAILABILITY
       The cfdisk command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.

util-linux							    March 2014								 CFDISK(8)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy