[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Permit xfs_repair -n on readonly device



On Sat, Feb 02, 2002 at 04:58:18PM +1000, Chris Pascoe wrote:
> Hi,
> 
> May I suggest this patch to xfs_repair - to make a "xfs_repair -n" 
> actually open the device read-only.  This permits running an 
> xfs_repair -n over a readonly snapshot to check if the snapshot is 
> okay.  It should be safe to do, as a nomodify repair shouldn't be 
> modifying the filesystem anyway.
> 

Thanks Chris - I'll put this in soon.

cheers.

-- 
Nathan