On Friday 26 March 2004 00:01, Jake wrote:
How wouldl I go about investigating where, in terms of actual address, a file is located on a given volume? I thought there might be an argument for ls but I'm not seeing it, possibly because I haven't looked hard enough.
If you're talking about where on the actual disk (as in which cylinder etc), that is heavily dependent on the file system you're using. The information is stored inside the inode. Small files may be stored inside the actual inode (like symlinks), for larger files, the information about where they are is found in there. For xfs you have tools like xfs_db to investigate the low level structures. For other file systems you may have other tools (coroner's toolkit spring to mind as a good thing to look at), although I don't know of any such tool for reiserfs