* Configuring default mount options..
@ 2010-07-26 0:56 A. James Lewis
2010-07-26 1:10 ` Sebastian 'gonX' Jensen
2010-07-26 6:08 ` Oystein Viggen
0 siblings, 2 replies; 6+ messages in thread
From: A. James Lewis @ 2010-07-26 0:56 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Configuring default mount options..
2010-07-26 0:56 Configuring default mount options A. James Lewis
@ 2010-07-26 1:10 ` Sebastian 'gonX' Jensen
2010-07-26 1:23 ` A. James Lewis
2010-07-26 6:08 ` Oystein Viggen
1 sibling, 1 reply; 6+ messages in thread
From: Sebastian 'gonX' Jensen @ 2010-07-26 1:10 UTC (permalink / raw)
To: A. James Lewis; +Cc: linux-btrfs
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 exampl=
e,
> 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 configure=
d
> 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 =C2=A0http://vger.kernel.org/majordomo-info.ht=
ml
>
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Configuring default mount options..
2010-07-26 1:10 ` Sebastian 'gonX' Jensen
@ 2010-07-26 1:23 ` A. James Lewis
2010-07-26 1:42 ` Sebastian 'gonX' Jensen
0 siblings, 1 reply; 6+ messages in thread
From: A. James Lewis @ 2010-07-26 1:23 UTC (permalink / raw)
To: Sebastian 'gonX' Jensen; +Cc: linux-btrfs
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Configuring default mount options..
2010-07-26 1:23 ` A. James Lewis
@ 2010-07-26 1:42 ` Sebastian 'gonX' Jensen
2010-07-26 11:27 ` A. James Lewis
0 siblings, 1 reply; 6+ messages in thread
From: Sebastian 'gonX' Jensen @ 2010-07-26 1:42 UTC (permalink / raw)
To: A. James Lewis; +Cc: linux-btrfs
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 exa=
mple,
>> > to always mount with compression, or always mount with encryption =
(If
>> > supported in future)... perhaps btrfstune could define default mou=
nt
>> > options, such as compression... so if there is a BTRFS filesystem =
on a
>> > removable hard drive, or flash stick, the filesystem can be config=
ured
>> > 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 use=
d
>> > under those circumstances.
>> >
>> > A. James Lewis
>> >
>> >
>> >
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe linux-bt=
rfs" in
>> > the body of a message to majordomo@vger.kernel.org
>> > More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info=
=2Ehtml
>> >
>>
>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Configuring default mount options..
2010-07-26 1:42 ` Sebastian 'gonX' Jensen
@ 2010-07-26 11:27 ` A. James Lewis
0 siblings, 0 replies; 6+ messages in thread
From: A. James Lewis @ 2010-07-26 11:27 UTC (permalink / raw)
To: linux-btrfs
>=20
> 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)
>=20
> * ["A. James Lewis"]=20
>=20
> > 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.
>=20
> 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.
>=20
That's a nice solution, particularly for encryption... especially once =
the GUI file managers are able to indicate the settings.... It would se=
em 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" st=
ored 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 so=
lution can be a subset of the other.
>=20
> I don't believe the code for this is written yet, however.
>=20
> =C3=98ystein
> --=20
> ssh -c rot13 otherhost
>=20
>=20
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Configuring default mount options..
2010-07-26 0:56 Configuring default mount options A. James Lewis
2010-07-26 1:10 ` Sebastian 'gonX' Jensen
@ 2010-07-26 6:08 ` Oystein Viggen
1 sibling, 0 replies; 6+ messages in thread
From: Oystein Viggen @ 2010-07-26 6:08 UTC (permalink / raw)
To: linux-btrfs
* ["A. James Lewis"]=20
> 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.
=D8ystein
--=20
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-07-26 11:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 0:56 Configuring default mount options A. James Lewis
2010-07-26 1:10 ` Sebastian 'gonX' Jensen
2010-07-26 1:23 ` A. James Lewis
2010-07-26 1:42 ` Sebastian 'gonX' Jensen
2010-07-26 11:27 ` A. James Lewis
2010-07-26 6:08 ` Oystein Viggen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).