Generic, per-fs and per-dev defaults in fstab?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Split this off from previous note (different subject, though
forgot to change previous subject line fully! *arg*).


As another matter of being user friendly, why can't specify a defaults
line for all mounts with the option of per-type defaults taking precedence:

default   *     defaults     defaults,x-'"mostly for completeness"'
default   xfs   defaults     logbsize=256k,largeio,nodiratime
/dev/sdf  xfs   defaults     su=64k,sw=256k
...
-------------

fs-type specific mounts would be applied after global
defaults, and in the 3rd line, what I am trying
to allow for (some way to tell any future space
managers to pay attention to the above alignment --
i.e. mkfs would be sure to set such params for xfs,
lvm and partition managers _could_ both use that information
to align layout.... etc.  Obviously the work /util would
have to come over time, but setting up a standard place
for such information is necessary -- and the file-system table
seems like a logical place to describe file-volume and filesystem details.

THE main purpose behind defaults -- is to apply to interactively made mounts,
so a user can have some set of defaults they want to, by default,
be applied when they use a mount command interactively.
(It can save on typing when working w/multiple temporary mounts & filesystems).




--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux