ufs freeze does not work

Hongjiang Zhang honzhan at microsoft.com
Tue Jun 28 08:06:54 UTC 2016


I run "./freeze -f", the program should freeze the "/" file partition, but I can still write something to "/tmp" folder.

-----Original Message-----
From: Edward Tomasz Napierała [mailto:etnapierala at gmail.com] On Behalf Of Edward Tomasz Napierala
Sent: Tuesday, June 28, 2016 2:55 PM
To: Hongjiang Zhang <honzhan at microsoft.com>
Cc: freebsd-fs at freebsd.org
Subject: Re: ufs freeze does not work

On 0627T0815, Hongjiang Zhang via freebsd-fs wrote:
> Hi all,
> 
> I wrote a test to freeze ufs, but it does not work even if the ioctl returns successful. What is the problem?

What do you mean by 'does not work'?  What happens, and what did you expect to happen?

Regarding your example - remember that the filesystem gets automatically unsuspended as soon as you close the /dev/ufssuspend file descriptor.



More information about the freebsd-fs mailing list