Re: fstab multiple line entries?

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



Keith Roberts wrote:
> I'm trying to add a long list of mount options in my fstab,
> and break the entry over 2 lines, as it goes off screen.
>
> Taking this as an example:
>
> # This works
> #
> #/dev/hda9
> # original settings
> # LABEL=downloads   /downloads     ext3   defaults   1 2
>
> # This doesn't work
> #
> #/dev/hda9
> # new options
> LABEL=downloads   /downloads \
> ext3       defaults              1 2
>
> Using the '\' character at the end of the line in the above
> example gives the following error message at boot time:
<snip>
Just a thought: go into vi, cursor down to the line, and hit $, and see
where the actual end of the line is. If there's whitespace *after* the \,
it won't work.

         mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux