Re: overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Tim Tassonis
On 10/28/2014 11:54 PM, Al Viro wrote: > On Tue, Oct 28, 2014 at 09:13:13PM +, Al Viro wrote: > >> >> We probably ought to split the normal (case-sensitive, no joliet shite) case >> out and leave it with NULL ->s_d_op, but that'll need to be done carefully, >> or isofs_cmp() will blow up on

Re: overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Al Viro
On Tue, Oct 28, 2014 at 09:13:13PM +, Al Viro wrote: > Documentation is wildly over-optimistic. You are trying to use something > with non-trivial ->d_hash and ->d_compare as lower layer. > > What should happen if you ask to mount an image with joliet extensions and > ask to create

Re: overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Al Viro
On Tue, Oct 28, 2014 at 07:10:36PM +0100, Tim Tassonis wrote: > Hi > > Just installed 3.18-rc2 and tried to test the overlayfs stuff: > > $ mkdir /ovtmp > $ mount -t tmpfs tmpfs /ovtmp/ > $ mkdir /ovtmp/work > $ mkdir /ovtmp/upper > $ mkdir /cdrw > $ mount /dev/sr0 /mnt > $ mount |egrep

overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Tim Tassonis
Hi Just installed 3.18-rc2 and tried to test the overlayfs stuff: $ mkdir /ovtmp $ mount -t tmpfs tmpfs /ovtmp/ $ mkdir /ovtmp/work $ mkdir /ovtmp/upper $ mkdir /cdrw $ mount /dev/sr0 /mnt $ mount |egrep "ovtmp|sr0" /dev/sr0 on /mnt type iso9660 (ro,relatime) tmpfs on /ovtmp type tmpfs

overlayfs: filesystem of lowerdir is not supported on cdrom

2014-10-28 Thread Tim Tassonis
Hi Just installed 3.18-rc2 and tried to test the overlayfs stuff: $ mkdir /ovtmp $ mount -t tmpfs tmpfs /ovtmp/ $ mkdir /ovtmp/work $ mkdir /ovtmp/upper $ mkdir /cdrw $ mount /dev/sr0 /mnt $ mount |egrep ovtmp|sr0 /dev/sr0 on /mnt type iso9660 (ro,relatime) tmpfs on /ovtmp type tmpfs

Re: overlayfs: filesystem of lowerdir is not supported on cdrom

2014-10-28 Thread Al Viro
On Tue, Oct 28, 2014 at 07:10:36PM +0100, Tim Tassonis wrote: Hi Just installed 3.18-rc2 and tried to test the overlayfs stuff: $ mkdir /ovtmp $ mount -t tmpfs tmpfs /ovtmp/ $ mkdir /ovtmp/work $ mkdir /ovtmp/upper $ mkdir /cdrw $ mount /dev/sr0 /mnt $ mount |egrep ovtmp|sr0

Re: overlayfs: filesystem of lowerdir is not supported on cdrom

2014-10-28 Thread Al Viro
On Tue, Oct 28, 2014 at 09:13:13PM +, Al Viro wrote: Documentation is wildly over-optimistic. You are trying to use something with non-trivial -d_hash and -d_compare as lower layer. What should happen if you ask to mount an image with joliet extensions and ask to create foo.txt

Re: overlayfs: filesystem of lowerdir is not supported on cdrom

2014-10-28 Thread Tim Tassonis
On 10/28/2014 11:54 PM, Al Viro wrote: On Tue, Oct 28, 2014 at 09:13:13PM +, Al Viro wrote: We probably ought to split the normal (case-sensitive, no joliet shite) case out and leave it with NULL -s_d_op, but that'll need to be done carefully, or isofs_cmp() will blow up on us. See