Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2016 07:33:18 +0000
From:      Hongjiang Zhang <honzhan@microsoft.com>
To:        =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   RE: ufs freeze does not work
Message-ID:  <SN2PR03MB2224903F61C7DD576EDDB05DB5220@SN2PR03MB2224.namprd03.prod.outlook.com>
In-Reply-To: <20160628065432.GA20716@brick>
References:  <CO2PR03MB2215FAA1AB86A669039B9540B5210@CO2PR03MB2215.namprd03.prod.outlook.com> <20160628065432.GA20716@brick>

next in thread | previous in thread | raw e-mail | index | archive | help

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@gmail.com] On Behalf Of Edward Tomasz Napierala
Sent: Tuesday, June 28, 2016 2:55 PM
To: Hongjiang Zhang <honzhan@microsoft.com>
Cc: freebsd-fs@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SN2PR03MB2224903F61C7DD576EDDB05DB5220>