Jim-
I chroot to the usb flash so that '/' (root) is on the usb flash. I'm using
scripts derived from /usr/bin/loadUSB.sh in on-board flash.
What's seen via ftp as /usbflash/root is seen as /root by other processes
started after the chroot. That seems error prone. In other words, ftp's
/usbflash/root is telnet's /root.
I think I need to prevent ftpd from starting before the chroot and that's
the approach I'll try next.
-Jim Fred
-----Original Message-----
From: On Behalf Of
Jim Jackson
Sent: Wednesday, April 05, 2006 1:58 PM
To:
Subject: Re: [ts-7000] TS-7250 filesystem access before and after chroot
On Wed, 5 Apr 2006 wrote:
> I'm booting from internal flash and chroot to USB flash. ftpd and probably
> other processes are using the filesystem in internal flash rather than the
> USB flash filesystem after chroot. How would you resolve this so that ftpd
> provides access to the 'after-chroot' filesystem?
I don't think I understand you.
The USB flash is mounted somewhere say /usbflash
you ftp to the box, login in and if the owenrship and permissions
of subdirectories under /usbflash allow you you can ftp to and from the
files.
What this has to do with chroot'ing I don't understand.
Perhaps I've misunderstood.
Jim
Yahoo! Groups Links
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|