2048 files/directory in Unix Sco ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers 2048 files/directory in Unix Sco ?
# 1  
Old 12-19-2002
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
# 2  
Old 12-19-2002
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  
Old 12-19-2002
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  
Old 12-22-2002
Quote:
Originally posted by Perderabo
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.
Thanks a lot.
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SCO

load sco xenix and sco unix binary ?

Hi I have some sco xenix object, bin and archive files that operate in sco unix 5.0.7. I know that sco unix kernel can support sco xenix binary. I want to know how can I link xenix and unix archives together? (0 Replies)
Discussion started by: javad1_maroofi
0 Replies

2. UNIX for Dummies Questions & Answers

Recover directory/files in unix

Hi Guys I accidently deleted a directory( and the files in it) in unix using 'rm -rf' :) Is there any procedure/script/command to recover the same? Your help is highly apperciated -thanks Subramanya (1 Reply)
Discussion started by: sgbhat
1 Replies

3. UNIX for Advanced & Expert Users

How to get the no of files from a particular directory in UNIX?

Hi, i have one scenario that i want to count the no of files in the specified Directory. if if put the ls -rtl | grep "^d" --> Retreive the list of directory only ls -rtl | grep "^-r" --> Retreive the list of files only But i want to know if i pass the directory name i want... (3 Replies)
Discussion started by: psiva_arul
3 Replies

4. UNIX for Advanced & Expert Users

Line Longer Than 2048 Charcters

I have a csv file with a record size of greater than 2048.So when i try to open the file in VI..This is the error i get (test.csv" A line cannot be longer than 2048 characters) Is there a way i can change this parameter to read a bigger line (2 Replies)
Discussion started by: kris01752
2 Replies

5. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

6. HP-UX

Want to remove files from unix directory

Dear All I am basic user of Unix. i woul like to delete some files (basically 05 and 0801111105) from unix directories but unable to delete it I tried all option. rm , rm -f etc.. but not succeed. Infact it also not allowing me to use chmod option so that i can grant 777 option to... (1 Reply)
Discussion started by: yogi_chavan
1 Replies

7. UNIX for Dummies Questions & Answers

moving files from a unix directory to a windows directory

Any body any ideas i'm failry new to this so any help would be appreciated. Cheers Steve (2 Replies)
Discussion started by: gleads
2 Replies

8. UNIX for Dummies Questions & Answers

Corrupted files from Windows to Unix Sco

I downloaded some applications from CD on a windows2000 PC to a Unix Sco machine using the WS-FTP program. When I tried to run the applications on the Unix machines I got an error. The files must have been corrupted in the process of transferring files from a Windows 2000 to a Unix Sco... (9 Replies)
Discussion started by: BAM
9 Replies

9. Filesystems, Disks and Memory

SCO TCP/IP runtime System for SCO Unix

Hi everyone i have a question for all of you. It may be basic or it may be a good one. I recently aquired a copy of "SCO TCP/IP runtime System for SCO Unix" (thats what the disks say) and for the life of me i can not get it to load. i have tried opening the disk in linux and it can not determine... (0 Replies)
Discussion started by: Cerberus
0 Replies
Login or Register to Ask a Question