Package: mount
Version: 2.19.1-5
Severity: wishlist

fstab manpage on Debian explains its fourth field as:
===================================
       The fourth field (fs_mntops).
              This field describes  the  mount  options  associated  with  the
              filesystem.

              It  is  formatted as a comma separated list of options.  It con‐
              tains at least the type of mount  plus  any  additional  options
              appropriate  to  the  filesystem  type. For documentation on the
              available mount options, see mount(8).  For documentation on the
              available swap options, see swapon(8).

              Basic file system independent options are:

              defaults
                     use  default  options: rw, suid, dev, exec, auto, nouser,
                     and async.

              noauto do not mount when "mount -a"  is  given  (e.g.,  at  boot
                     time)

              user   allow a user to mount

              owner  allow device owner to mount

              comment
                     for use by fstab-maintaining programs

              nofail do  not  report  errors  for  this  device if it does not
                     exist.
===================================

Since this explanation of the fourth field is for "file system
independent options" implying mount(8) cases.  I needed to look into
swapon(8) for help. (There is no mention of "sw" unlike some other Unix
fstab manpage .... maybe justifiable since it is "swapon" thing).

As I see swapon(8), only "noauto" "discard" "nofail" "pri=??" options
are explained but I do not see mention of "sw" and "defaults" which seem
to be the ones set up by d-i and explained elsewhere like:
http://tldp.org/HOWTO/Partition/setting_up_swap.html

("defaults" explained in fstab(5) is not valid for swap anyway.)

I think mention of these with example of fstab entry in swapon(8) should
make it easier for us all.

Regards,

Osamu

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

Kernel: Linux 3.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1    2.19.1-5 
ii  libc6        2.13-21  
ii  libmount1    2.19.1-5 
ii  libselinux1  2.1.0-4  
ii  libsepol1    2.1.0-1.1

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common  1:1.2.5-2

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