running fsck non-interactively

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

running fsck non-interactively

Postby Alarmed » Sun Aug 03, 2014 3:50 am

Hi,

is there an equivalent of debian's FSCKFIX=yes in Arch? I'd like my filesystem to be checked and repaired if needed automatically without user intervention every 3 mounts (tune2fs -c 3).

thanks in advance!
Alarmed
 
Posts: 54
Joined: Sun Jul 27, 2014 2:07 pm

Re: running fsck non-interactively

Postby moonman » Sun Aug 03, 2014 6:01 am

You need inird for this to work. ArchARM doesn't use initrd
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: running fsck non-interactively

Postby Alarmed » Sun Aug 03, 2014 1:15 pm

So the only way you can fsck the root partition is if you have a display?
Alarmed
 
Posts: 54
Joined: Sun Jul 27, 2014 2:07 pm

Re: running fsck non-interactively

Postby WarheadsSE » Mon Aug 04, 2014 11:43 am

$this->bbcode_second_pass_quote('moonman', 'A')rch Linux ARM doesn't provide an initrd
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: running fsck non-interactively

Postby Alarmed » Mon Aug 04, 2014 4:53 pm

is there no other way? What if I have a device sitting remotely with only access via network and I want the disk to be checked and repaired automatically?
Alarmed
 
Posts: 54
Joined: Sun Jul 27, 2014 2:07 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 11 guests