fstab multiple line entries?

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



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:

Mounting local filesystems:
mount: unknown filesystem type '\'
mount point defaults does not exist.

Is it possible to make multiple line entries like this in 
fstab, or not?

Kind Regards,

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------
_______________________________________________
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