Package: mount
Version: 2.17.2-3
Severity: normal

Hi.

I was recently going through the mount manpage (or at least parts of it) and 
have
several suggestions/enhancement ideas (or perhaps questions).
Please feel free to pick out and apply what seems reasonable.



1) -L label and -U uuid
At some options (e.g. -r and -w) you explicitly mention the synonyms.
For consistency you should do the same here and mention that this
is equal to specify LABEL= and UUID= as device.



2) Quite often the term partition is used (e.g. "Mount the partition").
This has (cosmetic) the problem, that it's not necessarily a partition.
It can be directly the block device (/dev/sda), a LUKS container,
a loop device, etc. etc.
Perhaps a more generic name (e.g. volume) should be used.


3) It seems that btrfs is completely missing, although it seems to work
already.
Perhaps only because it's still experimental.


4) Filesystem independent options:
- For all options (which have opposite meaning), there is neither the default 
given
not which one has priority in case both are specified.

- "defaults" also miss which other options are choosen (e.g. atime/noatime,
relatime/norelatime, etc.).

- It's absolutely unclear how the different access time options relate,
which of them are default and which priority they have:
atime/noatime, diratime/nodiratime, relatime/norelatime, 
strictatime/nostrictatime.

It seems that at least in Debian the default is relatime now, right? This should
be REALLY docmented.
It also seems that noatime, disables relatime, which is really not clear from 
the
documenation.
Probably many other such traps exists here.


- It would be nice, if the options could be grouped and not ordered by their 
name.
This is as it seems, already done by many filesystem specific options.
E.g. have all the access time related options, the synchronisation related, etc.
together.


5) ext2/3/4 options
- Not sure whether "The  `ext2'  filesystem  is the standard Linux filesystem."
really still applies.

- Perhaps one should add that ext234 has the concept of default mount-options
stored in the fs itself (via tune2fs) which may also apply, and which of them
would take precedence (options to mount, or those from tune2fs).

- Again, no defaults are given in many cases, nor which of two mutually
exclusive options would override (e.g. acl/noacl).

- For data=ordered it says this would be the default.
This is difficult, I guess. It seems that the kernel would use writeback as
default now, right? And just via CONFIG_EXT3_DEFAULTS_TO_ORDERED, the old 
deprecated
default is kept (for now) in debian.

- ext3: user_xattr,acl
Isn't this the same as in ext2, and wouldn't it be enough to put the 
documentation
there? (Also noacl, nouser_xattr would be missing in the ext3 section)
Also, the ext4 section gives information, which options are backwards compatible
to ext3. The ext3 section misses to do so for ext2.

- journal=update
I guess this depends on which fs-type is givem either -t ext3 or -t ext4, right?
If so, this should be noted in both sections (ext3 and ext4).

- Questions nearby (for ext4):
What is suggested for ext4 (for more security)? Still ordered? Or is ext4 
designed
so that writeback is also secure?
Are barriers on by default?
Is journal_checksum on by default?
Is journal_async_commit on by default and is this secure?
Which is the default for auto_da_alloc/noauto_da_alloc?

- At least one seems to miss which can be found in the tune2fs manpage: uid16

- The stripe=n... is this the same as stride=stride-size from mke2fs?



Hope that helps to improve. Thanks,
Chris.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1                     2.17.2-3   block device id library
ii  libc6                         2.11.1-3   Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.94-1   SELinux runtime shared libraries
ii  libsepol1                     2.0.41-1   SELinux library for manipulating b
ii  libuuid1                      2.17.2-3   Universally Unique ID library

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common                    1:1.2.2-1  NFS support files common to client

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to