Re: nilfs_cleanerd won't start for root filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On Thu, 2 Aug 2012 11:23:06 +0200, Piotr Szymaniak wrote:
> On Wed, Aug 01, 2012 at 08:34:17PM +0900, Ryusuke Konishi wrote:
> > *snip*
> > 
> > How about the following workaround?
> > 
> > # ln -s /dev/<your-root-partition> /lib/udev/devices/root
> > # reboot
> 
> My udev installation is missing /lib/udev/devices dir. Maybe that's also
> distribution specific?

Ah, udev-182 and earlier provided this feature, but now it seems to be
obsolete, so support of the feature seems to depend on effort of each
distro.
 
> As a workaround I just modified my cleanerd starter script [1] to check
> if /dev/root exists and, if it is missing, create proper /dev/root symlink
> to ${TARGETDISK} before nilfs_cleanerd is started.
> 
> PS Is there some "proper" way to start nilfs_cleanerd on rootfs? Or
> every way is good as far as it works fine? (my solution is missing the
> gcpid=foo)

You can refect the gcpid attribute just by doing remount instead of
invoking cleanerd manually.

 # mount -t nilfs2 -o remount <device> <mountpoint>
 
> [1] http://www.mail-archive.com/linux-nilfs@xxxxxxxxxxxxxxx/msg01195.html
> 
> Piotr Szymaniak.

Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux