Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!mailrus!iuvax!maytag!focsys!larry From: larry@focsys.uucp (Larry Williamson) Newsgroups: comp.unix.questions Subject: Can you control the inode a file is assigned? Message-ID: Date: 27 Jul 90 19:09:36 GMT Sender: larry@focsys.uucp (Larry Williamson) Organization: Focus Automation Systems Inc. Waterloo, Ontario. Lines: 19 Is there anyway to control the inode number a file is assigned, assuming the inode is free? For example... If I think inode 1555 is not used in the root file system, and I want to create a file say /etc/silly, can I do anything to ensure that inode 1555 is used for this file? I suppose one could create a temporary directory (on the appropriate file system), start filling it with zero length files until the inode of interest is assigned, then move that file to the desire place and remove the temporary directory, but this sounds like too much of a gross hack. Any ideas? -larry