The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/tmp: File system full, swap space limit exceeded frustrated1 SUN Solaris 5 03-18-2007 04:38 PM
Limit of no of characters PER LINE in a unix file mohapatra Shell Programming and Scripting 5 10-10-2006 04:18 PM
Limit number of user accessing to SCO UNIX System trinhnguyen UNIX for Dummies Questions & Answers 1 03-09-2005 10:29 AM
How do I send a file as an attachment (gzip file) on a Unix system lacca UNIX for Dummies Questions & Answers 3 07-03-2002 01:04 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-16-2008
admirer admirer is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
unix file system V filename limit

Why unix system V has a filename size limit of 14 characters.How other versions of Unix got around this problem.Can anybody help?
  #2 (permalink)  
Old 03-16-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
The original Unix filesystem had a limitation of 14 characters. Other versions of Unix used different filesystems with much larger limitations. A very few people actually liked that 14 character limit. To accommodate them, some versions of Unix allow you to force this limit artificially. For example, HP-UX allows a -S flag when creating a UFS filesystem. And they have a convertfs command to take a one-way trip into longer filenames. Other versions of Unix may have something like that too. But if your version of Unix is still using the old filesystem, you probably have no way around it except to upgrade to a more modern version of Unix.
  #3 (permalink)  
Old 03-16-2008
admirer admirer is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
i need more information

Why was that limited to 14 characters.That has something to do with inode and storage considerations.Help me
  #4 (permalink)  
Old 03-16-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
Ken Thompson thought is was an acceptable limit. He could have made it 15 or 16 just as easily. Or 12 or 13. There was nothing magical about 14. In the early 70's 14 seemed like a lot for a filename.
  #5 (permalink)  
Old 03-16-2008
admirer admirer is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
Affecting storage space

Wont the increase in filename size decrease the stroage limit of filesystem.?
  #6 (permalink)  
Old 03-16-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
Space allocated to filenames is not available for file data, but that's always true. What are you really asking these questions for?
  #7 (permalink)  
Old 03-16-2008
admirer admirer is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
Im a unix student

I am not getting my basics right.Can you please explain to me where the filename space is allocated and why the filename size increase does not affect the storage space
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0