Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Neat Bug ....



I had some 500Mb and 750 Mb drives left over, so I decided to 
hook them up as spare space in /usr as /usr, /usr/local, /usr/local2.
What I found was a reproducible problem where if the drive
that was defined for /usr/local (or any other subdirectory of /usr) was 
written ahead of the one for /usr in fstab, the /usr/local wouldn't be 
mounted properly.  It got confused with /usr.  

Just switching the order in fstab fixed the problem.  This was 
independent of which drives I used, and also was consistent with 
1.2.13 and 2.0.

OK:
/dev/sda1        /dos        msdos       defaults   1   1
/dev/sdb1        /           ext2        defaults   1   1
/dev/sdb2        swap        swap        defaults   1   1
/dev/sdc1        /usr        ext2        defaults   1   1
/dev/sdd1        /usr/local  ext2        defaults   1   1 
/dev/sde1        /usr/local2 ext2        defaults   1   1
none             /proc       proc        defaults   1   1

NG:
/dev/sda1        /dos        msdos       defaults   1   1
/dev/sdb1        /           ext2        defaults   1   1
/dev/sdb2        swap        swap        defaults   1   1
/dev/sdd1        /usr/local  ext2        defaults   1   1  ** changed position.
/dev/sdc1        /usr        ext2        defaults   1   1
/dev/sde1        /usr/local2 ext2        defaults   1   1
none             /proc       proc        defaults   1   1

Anyone else seen this problem?
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links