![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get the no of files from a particular directory in UNIX? | psiva_arul | UNIX for Advanced & Expert Users | 3 | 04-16-2008 11:12 PM |
| tarring/compressing files in Unix directory | montski | Shell Programming and Scripting | 1 | 02-15-2008 01:19 PM |
| unix command/s to find files older than 2 hours in a directory | Presanna | Shell Programming and Scripting | 6 | 11-20-2007 06:22 AM |
| Want to remove files from unix directory | yogi_chavan | HP-UX | 1 | 08-12-2005 01:27 PM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 05:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
2048 files/directory in Unix Sco ?
I found my directories to be filled with 2048 files.
The number of files per directory is not exceeding this number. Is this the default and what should i do to increase it? Regards |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What version of SCO?
How is your disk partitioned? Is this problem on all filesystems or just one (If you only have one partition, please state that)? |
|
#3
|
||||
|
||||
|
I am not a SCO expert, but I have an account on SCO box. My shell is ksh so I just tried:
mkdir xxx cd xxx x=1 while (( x< 3000 )) ; do touch $x done ls| wc -l I got 2999, so SCO supports more that 2048 files in a directory. By typing "man mount", I can see that SCO supports many different filesystem types including AFS, DOS, DTFS, HS, HTFS, ISO9660, LMCFS, NFS, NUCAM, NUCFS, RCKRDG, S51K, and XENIX. That man page sent me to "man fstyp" where I learned how to see what type of filesystem I am using. So I did a "df -k ." and found that the mount point of the filesystem containing my directory is /dev/dss. Then I did a "/etc/fstyp /dev/dss" and found that my filesystem type is "HTFS". My guess it that you are using some other filesystem type than HTFS. And with names like DOS and XENIX, I can believe that some supported filesystem might limit a directory to only 2048 files. If my guess is right, you will need to switch to a better filesystem. |
|
#4
|
|||
|
|||
|
Quote:
I am sorry i am replying late. Actually my directories contain far beyond 2048 files. I was using ws_ftp client to access my sco boxes and it seems the windows in that program only show you 2048 files. it was a silly listake, afterthat i tried on the unix shell the command ls | wc to check how many files i have and they are far beyond 2048. and yes fstyp gave me HTFS. thanks again. |
|||
| Google The UNIX and Linux Forums |