Re: Snapshot mysteries (and an oops)

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

 



On Saturday 12 December 2009, Andy Lutomirski wrote:
> Goffredo Baroncelli wrote:
[...]
> > 
> > Yes the docs may be improved. The syntax is:
> > 
> > btrfsctl -D <snapshotname> <directory>
> > 	<snapshotname>		snapshot name
> > 	<directory>		where the snapshot is
> > 
> 
> What's the point of the last parameter?  Can't either btrfsctl or the 
> filesystem figure that out on its own?

Pay attention that you can have different sub-volumes with the same name in 
different directories. 
It would be better if the directory is extracted from the name..

> (Can a subvolume be "mounted" in two places at once?  If so, maybe the 
> second parameter makes a tiny bit of sense.)

Yes, a subvolume may be mounted in two places (mount -t btrfs -o 
subvol=<subvolumename> ...); but that doesn't matter: if you remove a 
subvolume.. you remove iteverywhere.

> 
> --Andy
 

Goffredo
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijackATinwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux