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

Re: mount as read/write on demand



 Hi.

On Sat, 22 Feb 2014 10:57:48 +0200
binary <dreamer.binary@gmail.com> wrote:

> I forgot to mention my /etc/fstab
> 
> proc/proc   proc    defaults0        0
> sysfs/sys    sysfs   defaults0        0
> /dev/sda1   /       ext2    noatime,errors=remount-ro       0       1

Surely you realize that 'errors=remount-ro' should only work in case
you encounter any filesystem error?


> Στις 22/2/2014 10:36, ο/η binary έγραψε:
> > i have done this
> >
> > mount -o remount,ro and then run apt-get upgrade.

I assume you've meant 'mount -o remount,rw'.


> > it worked and writed everything to the card.

Did you invoked 'sync' afterwards?
Did you remount filesystem back to read-only status?


> > then i unplugged the power to simulate a power failure and the system 
> > got corrupted.

Did you run fsck.ext2 on the boot following the simulated power failure?


Reco


Reply to: