Re: Plans for a library for btrfs?

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

 



On Wed, 27 May 2015 14:31:28 +0200
Stef Bon <stefbon@xxxxxxxxx> wrote:

> This program, which I've called fuse-backup, creates backup subvolumes
> and snapshots by calling an extrenal script, which does something
> like:
> 
> btrfs subvolume snapshot -r %PathToBackup%/ %PathToSnapshot%
> 
> This works perfect, but are there any plans to do this with a library?

If this works perfect, then what is the rationale for needing a library?
Do you see a clear reason aside from any vague "it's supposed to be that way".
In the Unix land it is perfectly normal for programs to call other
self-contained programs to do their self-contained jobs:
http://www.catb.org/esr/writings/taoup/html/ch01s06.html#id2877684
Not everything must to be a library linked into your main executable, some
separation and calling external programs to do stuff such as mkfs or snapshot
management seems perfectly fine and even better from the debug-ability
standpoint.

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature


[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