sawyl: (Default)
[personal profile] sawyl
Today, I continued my occasional series of DiskXtender hacks with a mod which adds a purged file type to GNU find — something doubtless familiar to DMF users on the Cray.

It wasn't a particularly difficult job, once I'd managed to wrap my protesting brain around the fantastically complicated option parser and worked out that I could set a custom bit in the file type field. This made it possible to add a trap to the file checking procedure, quickly check the purge status of the file and return truth or false as required. It's not a perfect solution — I have a nagging doubt that by messing with the file type bits, I run the risk of breaking something elsewhere — but it does the job and keeps the users from noticing what a generally crappy service they're getting from the rest of the system...

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 5th, 2026 03:18 am
Powered by Dreamwidth Studios