On Friday 08 January 2010 12:19:29 pm Fernando Apesteguía wrote: > Hi all, > > This patch implements the "filesystems" file in the linux proc fs. > I have used it for some time without seeing any problems. Let me > know in case this is useful. > > Tested against 8.0-RELEASE-p1
This patch is not correct. It seems that /proc/filesystems is a list of available filesystems, not a list of mounted filesystems. E.g.: > cat /proc/filesystems nodev sysfs nodev rootfs nodev bdev nodev proc nodev sockfs nodev binfmt_misc nodev usbfs nodev usbdevfs nodev futexfs nodev tmpfs nodev pipefs nodev eventpollfs nodev devpts ext2 nodev ramfs nodev hugetlbfs iso9660 nodev relayfs nodev mqueue ext3 nodev rpc_pipefs nodev nfs nodev nfs4 nodev autofs To do the same thing in FreeBSD you would need to walk the vfsconf list instead. However, I'm not sure it is worth it to add this unless there are apps people commonly use that need it. -- John Baldwin _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"