Re: unable to pwd in ZFS snapshot

看板FB_stable作者時間15年前 (2010/12/26 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/9 (看更多)
On Sun, Dec 26, 2010 at 01:32:03PM +0200, Daniel Braniss wrote: > > > On 26 Dec 2010, at 10:05, Daniel Braniss wrote: > > > >> On Sun, Dec 26, 2010 at 09:26:13AM +0200, Daniel Braniss wrote: > > >> Setting snapdir to visible should fix this right away: > > >> # zfs set snapdir=visible tank/foo > > >> > > > it did indeed! > > > any reason why this should not be the default behaviour? > > > > Personally, I want to have the snapshot, but not see the directory otherwise so that > > it doesn't get scooped up by rsync et al inadvertently > > btw, why use rsync if 'zfs send| zfs recv' work realy nice? If I wanted to rsync the contents of /path/to/foo/ to another computer, rsync would unintenionally pick up the contents of /path/to/foo/.zfs/, so it's best to have .zfs hidden most of the time. Other commands such as cp should also have this problem. -- Denny Lin _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1D5ov_oP (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1D5ov_oP (FB_stable)