4 ms·
Could you not just hardlink to the /proc/<xxx>/fd/<y> file descriptor? I haven't tried this, but considering you can `cp` from the open descriptor to a new fil
by nuclear_eclipse 18y ago
Could you not just hardlink to the /proc/<xxx>/fd/<y> file descriptor? I haven't tried this, but considering you can `cp` from the open descriptor to a new file, I should also think you could make a new hardlink to that same descriptor.
- LogicHoleFlaw 18y ago/proc is its own filesystem so its 'inodes' are incompatible with whatever FS your disk is on.
- nuclear_eclipse 18y agoGood catch. My hardcore Unix-fu is still lacking in places... =\
- smcdow 18y agoyes, you can. and this is better than copying.
- smcdow 18y agowhoops, sorry, on crack. You can't after it's been deleted.