Re: /etc and partitions
On Mon, Feb 27, 2006 at 07:37:12PM +0100, Michael Schmidt wrote: > Hello, > > version: 3.8 > architecture: i386 > > I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? Just curious, but why would want /etc on a separate partition? Have a great day! -jeff
Re: /etc and partitions
Tobias Weingartner wrote: On Monday, February 27, Michael Schmidt wrote: I have seen that /etc cannot be located on a separated partition. Why can it be not on an extra partition? Where is the information located that tells it how/where to mount the /etc partition from? Okay, okay, I have learned the lesson. ;) Thanks to all. -- Michael Schmidt MIRRORS: DJGPP ftp://ftp.fh-koblenz.de/pub/DJGPP/ Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/
Re: /etc and partitions
On Mon, 27 Feb 2006 19:37:12 +0100 Michael Schmidt <[EMAIL PROTECTED]> wrote: > Hello, > > version: 3.8 > architecture: i386 > > I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? > > Have a nice day > Michael > > -- > Michael Schmidt MIRRORS: > DJGPP ftp://ftp.fh-koblenz.de/pub/DJGPP/ > Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/ > /usr/src/sbin/init/pathnames.h: #define _PATH_RUNCOM"/etc/rc" I think it may be changed to something else accessibly, but on line 201 in /etc/rc there is /sbin/mount executions, so /etc/fstab should be accessed before this line. -- "God is real, unless declared integer."
Re: /etc and partitions
On Monday, February 27, Michael Schmidt wrote: > > version: 3.8 > architecture: i386 > > I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? Where is the information located that tells it how/where to mount the /etc partition from? --Toby.
Re: /etc and partitions
Speaking from experience, I put /etc on a separate partition once, only took 2 hours to recover it but it was a lesson well learned... There are several file located in the /etc/ directory that need to be immediately available upon boot. These include /etc/fstab and /etc/rc*. Tim Donahue On Monday 27 February 2006 13:37, Michael Schmidt wrote: > Hello, > > version: 3.8 > architecture: i386 > > I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? > > Have a nice day > Michael
Re: /etc and partitions
Michael Schmidt wrote: > > I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? The rc scripts need to be able to read /etc/fstab to know what filesystems besides / to mount. Dustin Lundquist
Re: /etc and partitions
> I have seen that /etc cannot be located on a separated partition. > Why can it be not on an extra partition? Because it is the directory that contains the lists first shell script which must be run, /etc/rc. Same reason that /sbin cannot be a different mount point, because then you cannot get at /sbin/init. Or /dev, because then it cannot open /dev/console.
Re: /etc and partitions
Hello! On Mon, Feb 27, 2006 at 07:37:12PM +0100, Michael Schmidt wrote: >Hello, >version: 3.8 >architecture: i386 >I have seen that /etc cannot be located on a separated partition. >Why can it be not on an extra partition? Because init wants to start a shell on /etc/rc, and mount -a ... wants /etc/fstab to find any other file systems. That's only 2 reasons. There're probably more than that. Kind regards, Hannah.
/etc and partitions
Hello, version: 3.8 architecture: i386 I have seen that /etc cannot be located on a separated partition. Why can it be not on an extra partition? Have a nice day Michael -- Michael Schmidt MIRRORS: DJGPP ftp://ftp.fh-koblenz.de/pub/DJGPP/ Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/