I want to create a symlink,
foo.txt, needed at system startup, to another file,
bar.txt on a different mount point. The mounted partitions are different physical drives as well.
ln -s /baz/bar.txt /foo.txt
So far no problem. The Symlink is created and is valid. The question relates to what will happen when partition at
My dilemma is this, the partition mounted at
/baz may not be present at startup.
My question -> To avoid obvious problems, can I specify a fall back file at the filesystem level that the symlink will resolve to rather than simply breaking? Or am i stuck doing this at the application level?
Using Debian linux on an ext4 (the default for the latest release of Debian) filesystem FWIW.