linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* man filesystems(5) doesn't contain Btrfs
@ 2017-02-16 20:36 Chris Murphy
  2017-02-16 20:47 ` Austin S. Hemmelgarn
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Murphy @ 2017-02-16 20:36 UTC (permalink / raw)
  To: Btrfs BTRFS

Hi,

This man page contains a list for pretty much every other file system,
with a oneliner description: ext4, XFS is in there, and even NTFS, but
not Btrfs.

Also, /etc/filesystems doesn't contain Btrfs. Anyone know if either,
or both, ought to contain an entry for Btrfs?

-- 
Chris Murphy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: man filesystems(5) doesn't contain Btrfs
  2017-02-16 20:36 man filesystems(5) doesn't contain Btrfs Chris Murphy
@ 2017-02-16 20:47 ` Austin S. Hemmelgarn
  2017-02-18  6:02   ` Andrei Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Austin S. Hemmelgarn @ 2017-02-16 20:47 UTC (permalink / raw)
  To: Chris Murphy, Btrfs BTRFS

On 2017-02-16 15:36, Chris Murphy wrote:
> Hi,
>
> This man page contains a list for pretty much every other file system,
> with a oneliner description: ext4, XFS is in there, and even NTFS, but
> not Btrfs.
>
> Also, /etc/filesystems doesn't contain Btrfs. Anyone know if either,
> or both, ought to contain an entry for Btrfs?
>
The man-page absolutely should.  Ideally, that should be kept in sync 
with with the mount manpages, but I think they're in separate projects 
(mount is util-linux IIRC, while filesystems(5) is part of the Linux 
man-pages project).

As far as /etc/filesystems, that should be irrelevant.  Of the big 
distros, only SUSE, Fedora/CentOS/OEL, and Gentoo use it (I checked 
Arch, Gentoo, openSUSE, Fedora, Debian, and Ubuntu, which should cover 
at least 80% of users since this is low enough level derivatives won't 
be likely to change it), and all it does is dictate what order 'mount -t 
auto' will try filesystem types in.  All the distros that have it have a 
'*' on the last line, which means to check /proc/filesystems, and 
therefore will automatically try BTRFS if there's a kernel module for it 
(unless the module is blacklisted or prevented from being loaded on boot 
automatically).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: man filesystems(5) doesn't contain Btrfs
  2017-02-16 20:47 ` Austin S. Hemmelgarn
@ 2017-02-18  6:02   ` Andrei Borzenkov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrei Borzenkov @ 2017-02-18  6:02 UTC (permalink / raw)
  To: Austin S. Hemmelgarn, Chris Murphy, Btrfs BTRFS

16.02.2017 23:47, Austin S. Hemmelgarn пишет:
> On 2017-02-16 15:36, Chris Murphy wrote:
>> Hi,
>>
>> This man page contains a list for pretty much every other file system,
>> with a oneliner description: ext4, XFS is in there, and even NTFS, but
>> not Btrfs.
>>
>> Also, /etc/filesystems doesn't contain Btrfs. Anyone know if either,
>> or both, ought to contain an entry for Btrfs?
>>
> The man-page absolutely should.  Ideally, that should be kept in sync
> with with the mount manpages, but I think they're in separate projects
> (mount is util-linux IIRC, while filesystems(5) is part of the Linux
> man-pages project).
> 
> As far as /etc/filesystems, that should be irrelevant.  Of the big
> distros, only SUSE, Fedora/CentOS/OEL, and Gentoo use it (I checked
> Arch, Gentoo, openSUSE, Fedora, Debian, and Ubuntu, which should cover
> at least 80% of users since this is low enough level derivatives won't
> be likely to change it), and all it does is dictate what order 'mount -t
> auto' will try filesystem types in.  All the distros that have it have a
> '*' on the last line, which means to check /proc/filesystems, and
> therefore will automatically try BTRFS if there's a kernel module for it
> (unless the module is blacklisted or prevented from being loaded on boot
> automatically).


Note that utils-linux does low-level device probe first and falls back
to reading /{etc,proc}/filesystems only if low level probing fails
(returns no recognized filesystem).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-18  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 20:36 man filesystems(5) doesn't contain Btrfs Chris Murphy
2017-02-16 20:47 ` Austin S. Hemmelgarn
2017-02-18  6:02   ` Andrei Borzenkov

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).