If using BTRFS on a removable drive... it may be a problem for example, to always mount with compression, or always mount with encryption (If supported in future)... perhaps btrfstune could define default mount options, such as compression... so if there is a BTRFS filesystem on a removable hard drive, or flash stick, the filesystem can be configured to mount with compression by default. Maybe there is a way to do this already, but it seems like the filesystem itself should contain preferences for the way it is used under those circumstances. A. James Lewis -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 26 July 2010 02:56, A. James Lewis <james@fsck.co.uk> wrote:> If using BTRFS on a removable drive... it may be a problem for example, > to always mount with compression, or always mount with encryption (If > supported in future)... perhaps btrfstune could define default mount > options, such as compression... so if there is a BTRFS filesystem on a > removable hard drive, or flash stick, the filesystem can be configured > to mount with compression by default. > > Maybe there is a way to do this already, but it seems like the > filesystem itself should contain preferences for the way it is used > under those circumstances. > > A. James Lewis > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >That''s actually a good idea. Perhaps an override flag could be specified in case you do not wish to use said default mount options? Regards, Sebastian J. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2010-07-26 at 03:10 +0200, Sebastian ''gonX'' Jensen wrote:> On 26 July 2010 02:56, A. James Lewis <james@fsck.co.uk> wrote: > > If using BTRFS on a removable drive... it may be a problem for example, > > to always mount with compression, or always mount with encryption (If > > supported in future)... perhaps btrfstune could define default mount > > options, such as compression... so if there is a BTRFS filesystem on a > > removable hard drive, or flash stick, the filesystem can be configured > > to mount with compression by default. > > > > Maybe there is a way to do this already, but it seems like the > > filesystem itself should contain preferences for the way it is used > > under those circumstances. > > > > A. James Lewis > > > > > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > That''s actually a good idea. Perhaps an override flag could be > specified in case you do not wish to use said default mount options? >Indeed, if any mount options are specified they would override defaults... but if you plug in a removable drive, you there''s no way to specify mount options, but it''s quite likley that you would want some, like compression for example.> Regards, > Sebastian J.-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 26 July 2010 03:23, A. James Lewis <james@fsck.co.uk> wrote:> On Mon, 2010-07-26 at 03:10 +0200, Sebastian ''gonX'' Jensen wrote: >> On 26 July 2010 02:56, A. James Lewis <james@fsck.co.uk> wrote: >> > If using BTRFS on a removable drive... it may be a problem for example, >> > to always mount with compression, or always mount with encryption (If >> > supported in future)... perhaps btrfstune could define default mount >> > options, such as compression... so if there is a BTRFS filesystem on a >> > removable hard drive, or flash stick, the filesystem can be configured >> > to mount with compression by default. >> > >> > Maybe there is a way to do this already, but it seems like the >> > filesystem itself should contain preferences for the way it is used >> > under those circumstances. >> > >> > A. James Lewis >> > >> > >> > >> > -- >> > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >> > the body of a message to majordomo@vger.kernel.org >> > More majordomo info at http://vger.kernel.org/majordomo-info.html >> > >> >> That''s actually a good idea. Perhaps an override flag could be >> specified in case you do not wish to use said default mount options? >> > Indeed, if any mount options are specified they would override > defaults... but if you plug in a removable drive, you there''s no way to > specify mount options, but it''s quite likley that you would want some, > like compression for example. > > >> Regards, >> Sebastian J. > > >Oh, you''re talking about udisks/HAL automount feature I assume. It should be possible to specify mount parameters in some way for those implementations, but that isn''t really a "fix" if you''re using multiple computers - a per-drive mount parameter stored somewhere on the drive wouldn''t be that bad to save some time. Regards, Sebastian J. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
* ["A. James Lewis"]> Maybe there is a way to do this already, but it seems like the > filesystem itself should contain preferences for the way it is used > under those circumstances.There has been talk of supporting per-file (and I assume recursive per-directory default) attributes for raid level. Things like encryption and compression could fit well into such a scheme. I don''t believe the code for this is written yet, however. Øystein -- ssh -c rot13 otherhost -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> > From: Oystein Viggen <oysteivi <at> tihlde.org> > Subject: Re: Configuring default mount options.. > Newsgroups: gmane.comp.file-systems.btrfs > Date: 2010-07-26 06:08:54 GMT (5 hours and 4 minutes ago) > > * ["A. James Lewis"] > > > Maybe there is a way to do this already, but it seems like the > > filesystem itself should contain preferences for the way it is used > > under those circumstances. > > There has been talk of supporting per-file (and I assume recursive > per-directory default) attributes for raid level. Things like > encryption and compression could fit well into such a scheme. >That''s a nice solution, particularly for encryption... especially once the GUI file managers are able to indicate the settings.... It would seem to be necessary to allow these parameters to be set in the root, but otherwise nice. I''m not sure if it negates the value of having default "preferences" stored somwhere... certainly it would take longer to implement, but maybe the default parameters for all these settings are simply equivalent to whatever is defined in the root of each filesystem... so really one solution can be a subset of the other.> > I don''t believe the code for this is written yet, however. > > Øystein > -- > ssh -c rot13 otherhost > >A. James Lewis -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html