# large file options is set

**URL:** <https://community.unix.com/t/large-file-options-is-set/162565>\
**Category:** HP-UX\
**Created:** [June 16, 2006, 3:26pm UTC](https://community.unix.com/t/large-file-options-is-set/162565 "2006-06-16T15:26:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![catwomen](https://community.unix.com/letter_avatar/catwomen/32/6_449c533f586939b6e5f246632a46421f.png) [@catwomen](https://community.unix.com/u/catwomen)\
**Post date:** [June 16, 2006, 3:26pm UTC](https://community.unix.com/t/large-file-options-is-set/162565/1 "2006-06-16T15:26:04Z")

</div>

Can someone tell me the right or exact syntax to check if the large file options is set on a filesystem

Thanks!

---

<div class="post-metadata">

**Author:** ![Perderabo](https://community.unix.com/user_avatar/community.unix.com/perderabo/32/27_2.png) [@Perderabo](https://community.unix.com/u/Perderabo)\
**Post date:** [June 16, 2006, 5:26pm UTC](https://community.unix.com/t/large-file-options-is-set/162565/2 "2006-06-16T17:26:55Z")

</div>

As of HP-UX 11i, nolargefiles is the default. When a filesystem is created, with either mkfs or newfs, a "-o largefiles" can enable the largefile capability. Or "-o nolargefiles" can be used to explicit request a limited filesystem.

After a filesystem has been created, fsadm can be used with "-o largefiles" to convert it to a largefile filesystem. In some cases, you can switch back with a "fsadm -o nolargefiles".

If you care which you have, you can use the options largefiles or nolargefiles when you mount the filesystem. This will not convert a filesystem, but the mount will fail if the filesystem does not match the flag used on mount.

If a filesystem is mounted on, say, /mountpoint, and you wonder what size files it supports, anyone (even non-root users) can do "getconf FILESIZEBITS /mountpoint". This will return 32 for "nolargefiles" filesystems and a larger integer for "largefiles" filesystems. (I am getting 42...so do not expect 64.)

All of this defines what the filesystem can handle. If your program is a 32 bit program, it may not be able to process large files. (But with special techniques, 32 bit programs can process largefiles.)

---

<div class="post-metadata">

**Author:** ![catwomen](https://community.unix.com/letter_avatar/catwomen/32/6_449c533f586939b6e5f246632a46421f.png) [@catwomen](https://community.unix.com/u/catwomen)\
**Post date:** [June 17, 2006, 3:26pm UTC](https://community.unix.com/t/large-file-options-is-set/162565/3 "2006-06-17T15:26:19Z")

</div>

Thanks again Perderabo for your responce. getconf is something I didn't know...I was thinking on lsf earlier...
