lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090610210144.GB1381@ucw.cz>
Date:	Wed, 10 Jun 2009 23:01:44 +0200
From:	Pavel Machek <pavel@....cz>
To:	Denis Karpov <ext-denis.2.karpov@...ia.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/5] FAT errors, userspace notifications


> 2. Generic mechanism for notifications of user space about file system's 
>    errors/inconsistency on a particular partition using:
> 
>      - sysfs entry /sys/block/<bdev>/<part>/fs_unclean
>      - uevent KOBJ_CHANGE, uevent's environment variable FS_UNCLEAN=[0:1]
> 
>    Userspace might want to monitor these notifications (poll2() on sysfs file
>    or udevd's rule for uevent) and fix the fs damage.
>    Filesystem can be marked clean again by writing '0' to the corresponding 
>    'fs_unclean' sysfs file.

I see a race between userspace writing 0 and new error being detected.

Plus I don't think we have support for online fsck, not even on FAT...
       	     	      	   	       	      	    	     	Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ