Sponsored Content
Full Discussion: Max size directory
Top Forums Shell Programming and Scripting Max size directory Post 302811065 by Scott on Thursday 23rd of May 2013 03:08:52 AM
Old 05-23-2013
I wasn't aware that directories had a "max space" beyond the filesystem running out of blocks or inodes.

You can try using du -sh *. When you find the sub-directory, you can cd into that and do the same, until you find the one you're after.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Max size of variable

What is the maximum amount of characters that you can have in a varible name in the ksh shell? (1 Reply)
Discussion started by: lesstjm
1 Replies

2. UNIX for Dummies Questions & Answers

Max I/O Size

My HP-UX 11.0 system is supporting an Oracle database. I have found a number of references on the Net to the "Max I/O size" in relation to setting Oracle parameters. How can I tell what my max i/o size is? I originally made the assumption that it was referring to my stripe size but now I think... (1 Reply)
Discussion started by: keelba
1 Replies

3. Programming

Max file size can't exceed 2 GB

We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function... fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;%s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int,... (10 Replies)
Discussion started by: atiato
10 Replies

4. AIX

max size of a volum group with 5.3

hello i would like to create a volume group with 2200 Go (with pp size= 64) it is possible, or it is too big ? thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

5. UNIX for Advanced & Expert Users

How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line? TIA (2 Replies)
Discussion started by: dknight
2 Replies

6. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies

7. UNIX for Advanced & Expert Users

Max. file size

i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies

8. UNIX for Advanced & Expert Users

Max size of the attachment

Hi Gurus, I am unable to send a file which size is more than 10mb through the "sendmail" command in unix. I searched from internet and followed the path specified over there "/etc/mail/sendmail.cf" and too "/etc/mail/main.cf" but found in those files below lines. # maximum message size... (1 Reply)
Discussion started by: sanjay.login
1 Replies

9. Shell Programming and Scripting

finding max size

Hi I have a list of 2000 records with multiple entries and I want to get the max size for each entry ABC 1 ABC 2 ABC 3 ABC 4 DEF 1 DEF 2 DEF 2 DEF 2 DEF 2 ... (9 Replies)
Discussion started by: Diya123
9 Replies

10. Shell Programming and Scripting

How to delete some of the files in the directory, if the directory size limits the specified size

To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
GENEXT2FS(8)						      System Manager's Manual						      GENEXT2FS(8)

NAME
genext2fs - ext2 filesystem generator for embedded systems SYNOPSIS
genext2fs [ options ] [ output-image ] DESCRIPTION
genext2fs generates an ext2 filesystem as a normal (non-root) user. It does not require you to mount the image file to copy files on it, nor does it require that you become the superuser to make device nodes. The filesystem image is created in the file output-image. If not specified, it is sent to stdout. By default, the maximum number of inodes in the filesystem is the minimum number required to accommodate the initial contents. In this way, a minimal filesystem (typically read-only) can be created with minimal free inodes. If required, free inodes can be added by passing the relevant options. The filesystem image size in blocks can be minimised by trial and error. OPTIONS
-x, --starting-image image Use this image as a starting point. -d, --root directory[:path] Add the given directory and contents at a particular path (by default the root). -D, --devtable spec-file[:path] Use spec-file to specify inodes to be added, at the given path (by default the root), including files, directories and special files like devices. If the specified files are already present in the image, their ownership and permission modes will be adjusted accordingly. Furthermore, you can use a single table entry to create many devices with a range of minor numbers (see examples below). All specified inodes receive the mtime of spec-file itself. -b, --size-in-blocks blocks Size of the image in blocks. -N, --number-of-inodes inodes Maximum number of inodes. -i, --bytes-per-inode ratio Used to calculate the maximum number of inodes from the available blocks. -m, --reserved-percentage Number of reserved blocks as a percentage of size. Reserving 0 blocks will prevent creation of the "lost+found" directory. -g, --block-map path Generate a block map file for this path. -e, --fill-value value Fill unallocated blocks with value. -z, --allow-holes Make files with holes. -f, --faketime Use a timestamp of 0 for inode and filesystem creation, instead of the present. Useful for testing. -q, --squash Squash permissions and owners (same as -P -U). -U, --squash-uids Squash ownership of inodes added using the -d option, making them all owned by root:root. -P, --squash-perms Squash permissions of inodes added using the -d option. Analogous to "umask 077". -v, --verbose Print resulting filesystem structure. -V, --version Print genext2fs version. -h, --help Display help. EXAMPLES
genext2fs -b 1440 -d src /dev/fd0 All files in the src directory will be written to /dev/fd0 as a new ext2 filesystem image. You can then mount the floppy as usual. genext2fs -b 1024 -d src -D device_table.txt flashdisk.img This example builds a filesystem from all the files in src, then device nodes are created based on the contents of the file device_ta- ble.txt. Entries in the device table take the form of: <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> where name is the file name and type can be one of: f A regular file d Directory c Character special device file b Block special device file p Fifo (named pipe) uid is the user id for the target file, gid is the group id for the target file. The rest of the entries (major, minor, etc) apply only to device special files. An example device file follows: # name type mode uid gid major minor start inc count /dev d 755 0 0 - - - - - /dev/mem c 640 0 0 1 1 0 0 - /dev/tty c 666 0 0 5 0 0 0 - /dev/tty c 666 0 0 4 0 0 1 6 /dev/loop b 640 0 0 7 0 0 1 2 /dev/hda b 640 0 0 3 0 0 0 - /dev/hda b 640 0 0 3 1 1 1 16 /dev/log s 666 0 0 - - - - - This device table creates the /dev directory, a character device node /dev/mem (major 1, minor 1), and also creates /dev/tty, /dev/tty[0-5], /dev/loop[0-1], /dev/hda, /dev/hda1 to /dev/hda15 and /dev/log socket. SEE ALSO
mkfs(8), genromfs(8), mkisofs(8), mkfs.jffs2(1) AUTHOR
This manual page was written by David Kimdon <dwhedon@debian.org>, for the Debian GNU/Linux system (but may be used by others). Examples provided by Erik Andersen <andersen@codepoet.org>. August 19, 2006 GENEXT2FS(8)
All times are GMT -4. The time now is 09:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy