Double Mounting

Double Mounting

Post by John Blanc » Sat, 28 Jun 1997 04:00:00

   Ugggg, this one has had me going for a while but I just can't figure it
out!  I have a directory, /usr/local, that has a subdirectory cvs.  
So there's /usr/local and /usr/local/cvs.  What I need to do is
NFS mount these directories with /usr/local read-only and /usr/local/cvs
read-write?  How is this done?  Any help MUCH appreciated!
   - Johnnie Jr.

   - "I go from day to day, I know where the cupboards are,
      I know where the car is parked, I know he isn't you..." - T. Amos


1. double mounted / filesystem (rootfs?)

After upgrading from 2.4.18 to 2.4.19 several things got confused
in startup, such as assuming / was already mounted rw and not
remounting it rw and then failing because it is really ro.  The
problem is that / shows up twice in /proc/mounts now.

Prior to remounting rw:

rootfs / rootfs rw 0 0
/dev/root / reiserfs ro 0 0

After remounting rw (after tweaking the script):

rootfs / rootfs rw 0 0
/dev/root / reiserfs rw 0 0

I'm guessing this "rootfs" thing is a sneaky ramfs mounted first
and the designated root filesystem device mounted over it.  My
questions are:

1.  How might this impact initial ramdisk?  Will initrd simply
    mount over rootfs?

2.  How will this affect use of pivot_root() ... e.g. which root
    will be pivoted?

3.  When will we be able to get the actual device, instead of the
    fake "/dev/root", listed as the root filesystem?  IWSTM that
    scanning the same list of devices used to interpret root=
    strings could be used to reverse the device code back to the
    device name, with digits appended.

4.  What does rootfs gain us?

| Phil Howard - KA9WGN |   Dallas   | |


2. Distributed Make.

3. ramdisk, double mounting /dev/fd0 ? mke2fs ?

4. Help Configuring Modem

5. float vs double vs double float

6. PGP not PPP, whoops :-)

7. Double quotes within double quotes (no apostrophes)

8. "Installation Tool" ?

9. formatting an old double-sided double-density 5.25 floppy???

10. UNIX double vs. DOS Doubles

11. double sqrt (double)

12. Mounting "doubled" MS-DOS partitions

13. Double or drive spaced Dos drives Is there a mount type for these