On Sat, Jan 07, 2012 at 08:01:17PM +0100, Enrico Weigelt wrote

> Great. Perhaps you could create some unusual setups (perhaps in a
> full-VM), so we can build an test platform on it.
> 
> IIRC the main problem are scenarios where /usr is not available
> at boot, eg. has to be mounted from somewhere else (eg. NFS).
> So, our test platform should have such setups.

  I run with an "interesting" setup at home which could be a "torture
test" for mounting.  fdisk shows...

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   976768064   488384001    5  Extended
/dev/sda5             126      996029      497952   83  Linux
/dev/sda6          996093     8819684     3911796   82  Linux swap / Solaris
/dev/sda7         8819748   976768064   483974158+  83  Linux

  sda1 is the entire harddrive
  sda5 is the 250 megabyte / partition using ext2fs (YES!)
  sda6 is the swap partition
  sda7 is the rest of the harddrive using reiserfs

  /opt, /var, /usr, and /tmp are are bindmounted from /home like so...

/dev/sda5               /         ext2     noatime,nodiratime,async 0 1
/dev/sda7               /home     reiserfs noatime,nodiratime,async,notail 0 1
/home/bindmounts/opt    /opt      auto     bind 0 0
/home/bindmounts/var    /var      auto     bind 0 0
/home/bindmounts/usr    /usr      auto     bind 0 0
/home/bindmounts/tmp    /tmp      auto     bind 0 0

  This allows me to...
* use a really small / partition, without resorting to LVM
* not worry about running out of space in other partitions
* I started using it years ago when I had not decided which distro to
  use.  I could wipe the contents of /opt, /var, /usr, and /tmp but keep
  my data, emails, etc, in my user directory and install another distro
  without blowing away my data.

-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to