- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Assign file to a specific inode on root file syste...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 01:48 PM
10-17-2001 01:48 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 02:04 PM
10-17-2001 02:04 PM
Re: Assign file to a specific inode on root file system on HPUX.
I'm not sure why you would want to control the assignment of the inode.
Inodes are unique within a filesystem. In fact, when a directory is mounted the inode number of the directory will only, and always be two (2).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 02:04 PM
10-17-2001 02:04 PM
SolutionI assume your root filesystem is vxfs. fsdb will do this but be very careful. Man fsdb_vxfs; it has some fairly good examples.
I'm very reluctant to give you any instructions because you can absolutely clobber your system. My plan B would be to write a script writing small junk data files and until your desired inode number appeared.
Remove that file and then that will be the next inode number reassigned. Create/copy your desired file at this point. Finally remove your junk files and you are done.
I assume that you will put in safety checks to makesure that you are not using up all the space in / somewhere in your script.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 02:13 PM
10-17-2001 02:13 PM
Re: Assign file to a specific inode on root file system on HPUX.
I have seen that requirement for licensing files. The inode number becomes an integral part of the license key. For example, Baan has you run a utility that creates a file; the utility outputs some data that you send back to Baan. That data includes that inode number in an obscure way. When you are supplied with the actual keys, the file is updated with valid license information using the same inode.
They can generally provide those keys on a rush basis in two or three days and sometimes the keys even work.
Terri's request may not be as crazy as it sounds.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 02:21 PM
10-17-2001 02:21 PM
Re: Assign file to a specific inode on root file system on HPUX.
Well I'll be darned! [...and probably already am ;-) ]. Thanks!
...JRF...