All of lore.kernel.org
 help / color / mirror / Atom feed
* /etc/exports continue line
@ 2007-04-12 21:17 David Liontooth
  2007-04-12 21:37 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Liontooth @ 2007-04-12 21:17 UTC (permalink / raw)
  To: nfs


I've been using \ to continue a line in /etc/exports, and ran into an
odd problem -- if you accidentally hit the TAB key after the continue
line and save, the entry becomes invalid. Since the TAB key is
invisible, it can be difficult to figure out what's going on.

I reported it as Debian bug 418491 to nfs-kernel-server, and the
maintainer responded by saying \ isn't a valid continue character.
Comments? I routinely do this sort of thing:

/spare \
        165.97.21.130(rw,no_root_squash,no_subtree_check,async) \
        165.97.21.132(rw,no_subtree_check,async) \
        165.97.21.133(rw,no_subtree_check,async) \
        165.97.21.134(rw,no_subtree_check,async) \
        165.97.21.135(rw,no_root_squash,no_subtree_check,async) \
        165.97.21.136(rw,no_subtree_check,async) \
        165.97.85.112(rw,no_subtree_check,async) \
        165.97.85.117(rw,no_subtree_check,async)

A lot easier to maintain that a single line. Is there an alternative way
to continue the line?

Cheers,
Dave


-------- Original Message --------
Subject: 	Re: Bug#418491: nfs-kernel-server: Lots of misleading error
messages if there's a TAB in /etc/exports
Date: 	Thu, 12 Apr 2007 16:06:27 +0200
From: 	Steinar H. Gunderson <sgunderson@bigfoot.com>
To: 	David Liontooth <liontooth@cogweb.net>, 418491-done@bugs.debian.org
References:
<20070410023140.32254.14380.reportbug@localhost.localdomain>
<20070411002242.GD8811@uio.no>



On Wed, Apr 11, 2007 at 02:22:42AM +0200, Steinar H. Gunderson wrote:
>> Try this: edit /etc/exports and add a TAB after a \ (continue line). For instance, mine uses
> \ isn't supported as continue line, TTBOMK.

Thus, closing this one; forgot to do so last time.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-02  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 21:17 /etc/exports continue line David Liontooth
2007-04-12 21:37 ` Mike Frysinger
2007-04-12 21:38 ` Neil Brown
2007-04-12 22:10   ` David Liontooth
2007-04-13  0:49     ` Mike Frysinger
2007-05-02  2:38 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.