On Mon, May 11, 2009 at 4:01 AM, Jan Stary <[email protected]> wrote: > This is probably trivial, but what is the most elegant way to find out > which of the currently mounted filesystems are local, ie. mounted > off a local disk?
Careful: how strongly wedded to the idea that local==local disk? OpenBSD sets the 'local' flag on mfs mounts, where there isn't *any* disk... > A simple > mount | grep ' (local' That fails if there's a flag before 'local', such as 'asynchronous'. > works for me, but is there a better way > (besides mount -t and listing the 'local' FS types)? df -l Philip Guenther

