Subject: | |
From: | |
Reply To: | |
Date: | Mon, 29 Oct 2012 00:13:54 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 10/28/2012 03:29 AM, Todd And Margo Chester wrote:
> On 10/27/2012 07:42 PM, Steven J. Yellin wrote:
>> You can put an fsck command in /etc/rc.d/rc.local.
>>
>> Steven Yellin
>>
>> On Sat, 27 Oct 2012, Todd And Margo Chester wrote:
>>
>>> Hi All,
>>>
>>> SL 6.2, x64
>>>
>>> I have an "ext 4" drive (/dev/sdb1) I use for backup that is
>>> deliberately not in my fstab.
>>>
>>> "touch /forcefsck" will only force a check on my main ("/")
>>> drive.
>>>
>>> Question: is there a way to trigger an an fsck at boot on
>>> this backup drive?
>>>
>>> Many thanks,
>>> -T
>>>
>>
>
> Thank you. Thank will work.
>
> Actually, I am trying to solve the mystery of how to get it to
> fsck at the same time as "touch /forcefsck". Do you know
> how to do this?
>
> Many thanks,
> -T
Hi Todd,
Have you perused through tune2fs(8) to notice you may set a max-mount-counts to 1 or maybe a daily interval-between-checks to 1d?
Why are you so adverse to an fstab entry? If you specify option "noauto" it won't be mounted on boot, but it *might* fsck with the others.
|
|
|