On 20141211_1257+0200, Andrei POPESCU wrote:
> On Mi, 10 dec 14, 15:32:55, Jape Person wrote:
> > 
> > But that information plus the linked items (in the info output) grub-reboot
> > and grub-editenv may get me started toward a solution.
> 
> I just thought of a different approach, using the fact that one can 
> manipulate the "Maximum mount count" without having to umount the 
> filesystem: write a script that always sets the "Maximum mount count" to 
> '0' or '-1' late during the boot (e.g. via rc.local or @reboot in the 
> crontab).
> 
> With this one can easily trigger a manual check on the next reboot with 
> a simple:
> 
>     tune2fs -c 1 /dev/sdXY

Andrei:
If one were to put the following line into /etc/rc.local:
   tune2fs -l /dev/sdXY
where whould the output go? In particular could it be directed
to a place that is easily noticed by the owner/user of the computer?

TIA
-- 
Paul E Condon           
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141212160854.ga6...@big.lan.gnu

Reply via email to