c++ - hardlink multiple file to one file -
i have many files in folder. want concatenate these files single file. example cat * > final_file; increase disk space. there way can hardlink files final_file? example ln * final_file.
this not possible using links.
if need kind of feature , can not afford create 1 large file go custom file system driver. fuse allow write simple file system driver runs in user space , allows access files 1 large file.
you write custom block device (e.g. emulating nbd "network block device" protocol) combines 2 or more files 1 large block device.
getting know concrete use case give better answer.
Comments
Post a Comment