9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] import-ing files instead of directories
@ 2004-01-23  3:18 mirtchov
  2004-01-23  4:34 ` David Presotto
  0 siblings, 1 reply; 3+ messages in thread
From: mirtchov @ 2004-01-23  3:18 UTC (permalink / raw)
  To: 9fans

according to the import(4) man page the command allows an arbitrary
file to be imported from a remote machine (first paragraph of the
description section), however:

	home% touch /tmp/blah2
	home% import plan9 /tmp/blah2
	import: bad remote tree: chdir(10:"/tmp/blah2"): not a directory
	home%

am I missing an argument somewhere?



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

* Re: [9fans] import-ing files instead of directories
  2004-01-23  3:18 [9fans] import-ing files instead of directories mirtchov
@ 2004-01-23  4:34 ` David Presotto
  2004-01-23  5:19   ` mirtchov
  0 siblings, 1 reply; 3+ messages in thread
From: David Presotto @ 2004-01-23  4:34 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

The problem is exportfs.  It limits what it exports by chdir'ing to the
directory being exported and only exporting from there down.  Is exporting
a single file important to you or would you accept me just changing the
man page?

[-- Attachment #2: Type: message/rfc822, Size: 1995 bytes --]

From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: [9fans] import-ing files instead of directories
Date: Thu, 22 Jan 2004 20:18:24 -0700
Message-ID: <a7e11ca2b00874268263fe38afbfbc7b@plan9.ucalgary.ca>

according to the import(4) man page the command allows an arbitrary
file to be imported from a remote machine (first paragraph of the
description section), however:

	home% touch /tmp/blah2
	home% import plan9 /tmp/blah2
	import: bad remote tree: chdir(10:"/tmp/blah2"): not a directory
	home%

am I missing an argument somewhere?

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

* Re: [9fans] import-ing files instead of directories
  2004-01-23  4:34 ` David Presotto
@ 2004-01-23  5:19   ` mirtchov
  0 siblings, 0 replies; 3+ messages in thread
From: mirtchov @ 2004-01-23  5:19 UTC (permalink / raw)
  To: 9fans

> The problem is exportfs.  It limits what it exports by chdir'ing to the
> directory being exported and only exporting from there down.  Is exporting
> a single file important to you or would you accept me just changing the
> man page?

would've been an easy solution to importing parts of remote namespaces
without taking in the entire /srv of the machine.

changing the man page is the way to go -- after all nobody uses import
differently :)



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

end of thread, other threads:[~2004-01-23  5:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23  3:18 [9fans] import-ing files instead of directories mirtchov
2004-01-23  4:34 ` David Presotto
2004-01-23  5:19   ` mirtchov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).