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

[PATCH] move cow mount rather than binding it on /live/cow, this prevents the /cow mount showing up in /proc/mounts



> Jesse W. Hathaway wrote:
> > -	mount -o bind /cow "${rootmnt}/live/cow"
> > +	mount -o move /cow "${rootmnt}/live/cow"
> 
> i'm not so sure about that, but afaik /cow is used within the initramfs
> stage for snapshotting, no?

i'm not yet familiar with how the snapshotting works, but I thought
that was the purpose of the bind, ie:

# shows cow fs on /cow for use by live-snapshot

the move still makes cow available on /cow, it just eliminates the
hidden /cow mount point.

-Jesse



Reply to: