[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
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?
-
Search the FAQ Archives
Single Page
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?
5.3.1 How can I enable long file names?
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.
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 October 22 2009 @ 05:25 AM