On Thu, 30 Jul 2015 01:11:30 +0300
Alon Bar-Lev <alo...@gentoo.org> wrote:

> On 29 July 2015 at 23:20, William Hubbs <willi...@gentoo.org> wrote:
> >
> > All,
> >
> > so that there is a better idea out there of what I'm talking about,
> > the OpenRC github repository now has a mount-service branch.
> 
> Nice!
> 
> But I still trying to figure out why do we need to keep fstab around.
> It is pure legacy.
> 

On what planet is fstab pure legacy? Many utilities use it and expect it
to exist. For example the ability to do "mount /foo" requires a properly
configured fstab file (also mount -a).

AFAIK even systemd needs a fstab file if you want to do anything that
it can't autodetect by probing the system.

> There can be a migration script to generate /etc/conf.d/*
> configuration once, but there is no need to keep it around.
> The conf.d can contain everything that fstab contains.
> 
> mount_mountpoint_\${NAME}=
> mount_type_\${NAME}=
> mount_fs_\${NAME}=
> mount_opts_\${NAME}=
> mount_dump_\${NAME}=
> mount_pass_\${NAME}=
> 

That's a mighty verbose format, especially compared to fstab. I don't
think we should force people to move away from fstab because we have a
new and shiny service system.

Also if you are trying to get rid of "legacy" stuff, why on earth are
you keeping dump and pass around? Both of those are certainly not
needed if you are doing everything via services.

Reply via email to