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

Re: [PATCH] Don't add leading directory for files twice. (#503830)



> > Why mountpoint vs. _mountpoint?
> 
> See the comment just under "if status" -- a FileSystem sets
> self._mountpoint when mounting the filesystem so we know what the
> current mountpoint is. This is because of chroots and such, so we don't
> blindly assume it's been mounted at self.mountpoint (sometimes
> self.mountpoint isn't even set IIRC).
> 
> So for a device whose mountpoint is /home, but which is currently
> mounted on /mnt/sysimage/home, self._mountpoint will
> be /mnt/sysimage/home while self.mountpoint will still be /home.

Okay, looks good to me then.  I forgot this finer point of the new
storage code.

- Chris


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