Adding FreeBSD support into Fvwm-Crystal. It have a Preferences -> Desktop manager -> FVWM-Crystal functionality that generate on the fly a fvwm config to show icons on the desktop. It have its own preferences system (right click) which contain Mounted partitions On/Off. When On, it will use mount to show one icon per mounted partition and another check to filter in only the paritions the user have access to. On my system:
The mounted partition test, filter out all partitions that don't begin by a '/' or a list of words:
I am not sure is I want to keep zroot as it into that list (simple-mtpfs|http|zroot), that because it show everything but devfs on the desktop, of them, the only one really useful for the user is zroot/home/<user>, which is already included into these icons and is the only one icon that cannot be disabled into the preferences. It is also a Show directories where the user can define his own icon launchers with custom paths.
My questions: Will all the mounted partitions begin with zroot? What will be mount output for the distant mounted partitions, will their names begin with 'http' as on linux, 'zroot/http' or something else? What else can be useful?
Code:
% mount
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
zroot/home on /home (zfs, local, noatime, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot on /zroot (zfs, local, noatime, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/home/dom on /home/dom (zfs, local, noatime, nfsv4acls)
The mounted partition test, filter out all partitions that don't begin by a '/' or a list of words:
Code:
mount | gawk '/^\/.*|^(simple-mtpfs|http|zroot).*\// { print "" "" $3 "" ""; }' |sort
My questions: Will all the mounted partitions begin with zroot? What will be mount output for the distant mounted partitions, will their names begin with 'http' as on linux, 'zroot/http' or something else? What else can be useful?