rein...@dropje.13thmonkey.org (Reinoud Zandijk) writes: >> We have 'fsck' which resolves the device name and 'fsck_*' that gets passed >> the resolved name.
>If they were never intended to be used separately then shouldn't they be in >libexec? Well, that's history for you :) >> We also have 'df' where 'df -W' prints the original symbolic path >> (but just for NAME=) because a resolved symbol path cannot be >> reversed. >'df -W' just uses getmntinfo() and mount(8) only calls getfsspecname() before >passing it on. It's fetches (part of) the unresolved spec that was saved as f_mntfromlabel and prepends NAME=.