Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249338 Details for
Bug 339472
sys-fs/nilfs-utils: need init.d helper for rootfs on nilfs2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sys-fs/nilfs-utils althernative
nilfs2_root_ac.patch (text/plain), 1.14 KB, created by
Denis Kaganovich
on 2010-10-02 15:50:03 UTC
(
hide
)
Description:
sys-fs/nilfs-utils althernative
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2010-10-02 15:50:03 UTC
Size:
1.14 KB
patch
obsolete
>--- /usr/portage/sys-fs/nilfs-utils/nilfs-utils-2.0.18.ebuild 2010-07-26 20:49:50.000000000 +0300 >+++ nilfs-utils-2.0.20.ebuild 2010-10-02 17:39:45.100000150 +0300 >@@ -20,5 +20,7 @@ DEPEND="${DEPEND} > src_install() { > emake DESTDIR="${D}" install || die > >+ newinitd "${FILESDIR}"/nilfs2.initd nilfs2 >+ einfo "If you use nilfs2 as root fs - do 'rc-update add nilfs2 boot' to run nilfs2_cleanerd" > dodoc AUTHORS ChangeLog NEWS README || die > } >--- /usr/portage/sys-fs/nilfs-utils/files/nilfs2.initd 1970-01-01 03:00:00.000000000 +0300 >+++ files/nilfs2.initd 2010-10-02 18:33:54.000000000 +0300 >@@ -0,0 +1,26 @@ >+#!/sbin/runscript >+# (c) Dzianis Kahanovich >+# Distributed under the terms of the GNU General Public License v2 >+ >+description="Force nilfs2_cleanerd on root" >+ >+depend() >+{ >+ need root >+ before mtab >+} >+ >+start() >+{ >+ if [[ -e /etc/conf.d/fsck ]]; then >+ . /etc/conf.d/fsck >+ if ! yesno ${fsck_on_battery:-YES} && ! on_ac_power; then >+ ewarn "Not forcing nilfs2_cleanerd due to not being on AC power & /etc/conf.d/fsck" >+ return 0 >+ fi >+ fi >+ ebegin "Remounting root filesystem fake to help nilfs2" >+ mount -fo remount / >+ eend $? >+ return $? >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 339472
:
249326
| 249338 |
347990