Re: resizing file system

2010-09-11 Thread Matteo Frigo
Ryusuke Konishi ryus...@osrg.net writes: An experimental resize feature did exist, but it's not applicable to the current version. And, it didn't support shrinking. So the feature you want is not available now. (Sorry for inconvenience) Ryusuke, Thanks for developing nilfs2, it is a superb

[PATCH] Compare device number rather than device name for mount check.

2010-09-11 Thread Matteo Frigo
To check whether a file system is mounted, nilfs-tune was comparing the device name to the contents of /etc/mtab. This check does not detect a mounted file system when the device has multiple names, which is a common case when using LVM. (LVM creates symbolic links from /dev/mapper/vg-lv to

Re: resizing file system

2010-09-11 Thread Ryusuke Konishi
On Sat, 11 Sep 2010 19:31:18 -0400, Matteo Frigo wrote: Ryusuke Konishi ryus...@osrg.net writes: To be precise, you also have to move the secondary superblock, and s_dev_size should be changed, too. Anyway, all that's required for the off-line expansion are these modifications. Ok, I

Re: [PATCH] Compare device number rather than device name for mount check.

2010-09-11 Thread Ryusuke Konishi
Hi, On Sat, 11 Sep 2010 15:40:12 -0400, Matteo Frigo wrote: To check whether a file system is mounted, nilfs-tune was comparing the device name to the contents of /etc/mtab. This check does not detect a mounted file system when the device has multiple names, which is a common case when using