NetBSD-Users archive

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

Re: Remounting as read-only

On May 14, 2010, at 10:21 31AM, Emmanuel Dreyfus wrote:

> On Fri, May 14, 2010 at 01:13:47PM +0000, Emmanuel Dreyfus wrote:
>> On Fri, May 14, 2010 at 01:00:53PM +0000, Emmanuel Dreyfus wrote:
>>> Of course I acan umount and remount, but that invalidate file descriptors
>>> that had been open read-only on the filesystem. Isthere any trick to get
>>> it working as it worked on NetBSD 4?
>> Ok, I found it: mount -f -u /flash
> Well, no: this returns no error, but the filesystem remains read/write;

It's a nuisance for me, too.  I have a small Soekris box as my home router, 
running from a CF card.  Every now and then, I need to update the 
configuration, but I do *not* want the superblock rewritten constantly.  When I 
update it to 5.x, I'll have to reboot every time I tweak it.

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index