Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 5.3.1 How can I enable long file names?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum archive ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3 Disks and Filesystems
Next Document: 5.3.2 Is it possible to create a RAM disk?
See reader questions & answers on this topic! - Help others by sharing your knowledge

HP-UX 10.00 or later creates HFS filesystems with long file names (up to
255 characters) enabled by default, and all VxFS filesystems support long
file names.

To change pre-10.0 HFS filesystems to support long filenames, run
the /etc/convertfs program (see convertfs(1M)).  Note that will NOT be
able to switch back.

Here's how to check if an existing HFS filesystem has long filenames
enabled:

# tunefs -v /dev/rdsk/XXX | grep magic
magic   95014   clean   FS_OK   time    Tue Mar 23 14:13:01 1993
           \__ if = 95014 then long filenames
            \__ if = 11954 then short filenames

You can also look at this on a per directory basis with the POSIX
command getconf:

  $ getconf NAME_MAX directory

where 'directory' is the path to the directory.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3 Disks and Filesystems
Next Document: 5.3.2 Is it possible to create a RAM disk?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM