Return to BSD News archive
Newsgroups: comp.unix.bsd.netbsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!mn6.swip.net!news00.sunet.se!sunic!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!vixen.cso.uiuc.edu!uchinews!not-for-mail From: eric@fudge.uchicago.edu (Eric Fischer) Subject: adding whiteout support to a file system X-Nntp-Posting-Host: fudge.uchicago.edu Message-ID: <E5t3Ix.1qM@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) X-Newsposter: Pnews 4.0-test51 (15 Jan 97) Organization: The University of Chicago Date: Tue, 18 Feb 1997 16:08:57 GMT Lines: 23 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5454 I recently moved my NetBSD (sparc) system to a new disk and in the process lost the ability to mount union directories unless I mount them read-only: $ mount -t union -o -b /usr/src usrsrc union: Operation not supported $ mount -r -t union -o -b /usr/src usrsrc Judging from /usr/src/sys/miscfs/union/union_vfsops.c, this sort of error happens when the top layer file system doesn't have whiteout support and the mount is not read-only, even though the mount_union man page seems to suggest that the mount should succeed and only return EROFS if I try to do something that would require whiteout support. Assuming this is actually what's wrong, can anyone tell me what option I should have given to newfs to add whiteout to the filesystems I created, and whether there's any way to add this to an existing file system without having to copy everything to another disk and back again? Thanks, Eric