Hi, On Sun, 21 Jun 2009 17:37:08 +0300, Sami Liedes wrote: > On Sun, Jun 21, 2009 at 05:02:34PM +0300, Sami Liedes wrote: > > You say I should start the cleanerd by running > > > > # nilfs_cleanerd /dev/sdb1 / > > > > However nothing in the output of `nilfs_cleanerd -h' indicates > > anything of the second parameter (mount point). Looking at the source, > > that's how mount.nilfs2 runs it too, and that's exactly the case where > > it fails. > > OK, I debugged a bit and figured out what the real problem is. It's > the fact that nilfs_find_fs() is too strict about the mount points > being the same. Namely, it considers /media/lacie and /media/lacie/ to > be different mount points (it merely does a strcmp()). > > /proc/mounts always uses the former syntax, so if the mount command is > something like `mount /dev/mapper/lacie /media/lacie/ -t nilfs2', the > cleanerd is not started because mount passes "/media/lacie/" as the > mount point, and nilfs_find_fs() expects it to not have the last > slash. > > Sami
Grr, that's an elementary and influential bug. Okay, I'll fix it. Sami, thank you for finding this! Cheers, Ryusuke Konishi _______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users
