If you want to clear the &PH& record but retain the inode, at the Unix prompt put
> filename In Unix it nulls out the file but retains the inode. I use this method very often for clearing UniData, UniVerse and Unix logs. HTH Dan Goble | Senior Systems Engineer Interline Brands, Inc. 804 East Gate Drive Suite 100, Mount Laurel, NJ 08054 Office: 856.533.3110 | Mobile: 609.792.6855 E-mail: [email protected] | Website: www.interlinebrands.com This e-mail and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete all copies of this message. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Gallen Sent: Friday, November 30, 2012 1:43 PM To: U2 Users List Subject: Re: [U2] Things you shouldn't do..... If I remember correctly, the only problem with hard linking is that you can not make a hard link that is outside the filesystem that it resides in, whereas a softlink can. George -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wols Lists Sent: Friday, November 30, 2012 1:36 PM To: [email protected] Subject: Re: [U2] Things you shouldn't do..... Off-topic - I make a lot of use of this tactic to save disk space - I store all my digital photos in a "secure area", and then link them into my and my wife's home directories so we both see the same file. And because I use hard links, moving the "original" file doesn't break the links. If you do an "ls -al" in a directory, one of the columns is the number of links to the inode - do hard linking and you'll see this climb above 1. Just don't hard-link a directory - I gather it can be done, but an rm is likely to make a mess of your files ... > > James > Cheers, Wol _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
