Table of Contents Title Page Publishing Information Dedication Acknowledgements Chapter 0: Introduction Chapter 1: Foreign Filesystems Chapter 2: devfs Chapter 3: Namespace Filesystems Chapter 4: Rearranging Filesystems Chapter 5: Memory Filesystems Chapter 6: Network File System Chapter 7: Common Internet File System Client Chapter 8: iSCSI Chapter 9: GEOM_GATE and HAST Chapter 10: Networked Disk Failover Chapter 11: NFSv4 Access Control Lists Chapter 12: Filesystem Glues Afterword About the Author FreeBSD Mastery: Specialty Filesystems Copyright 2015 by Michael W Lucas (https://www.michaelwlucas.com). All rights reserved. Author: Michael W Lucas BSD Daemon copyright 1988 by Marshall Kirk McKusick. All rights reserved. Technical Review: Edward Tomasz Napierała Copyediting: Lindy Lou Losh Cover art: Beastie sort de l’Opéra, illustration copyright © 2015 Eddie Sharam, after Le Sortie de l’opéra en l’an 2000, 1882, by Albert Robida ISBN-13: 978-0692610442 ISBN-10: 0692610448 All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, smoke signals, or by any information storage or retrieval system, without the prior written permission of the copyright holder and the publisher. For information on book distribution, translations, or other rights, please contact Tilted Windmill Press (
[email protected]) Product and company names mentioned herein might be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The information in this book is provided on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor Tilted Windmill Press shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it. Tilted Windmill Press https://www.tiltedwindmillpress.com For Liz Acknowledgements I planned to spend six weeks writing this book. Six months later, when I finally typed the last words, I looked back at the plan and laughed maniacally. FreeBSD has an incredible variety of special-purpose filesystems, and getting a handle on them took far longer than expected (mainly because I’m not nearly as smart or efficient as I think I am). Some of these filesystems will solve problems you never knew you had. Some of them