Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47940 - sys-apps/baselayout-1.8.10 should check to see if drives are mounted
Summary: sys-apps/baselayout-1.8.10 should check to see if drives are mounted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 10:35 UTC by Adam
Modified: 2004-06-06 17:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2004-04-15 10:35:59 UTC
sys-apps/baselayout-1.8.10 tries to create /mnt/cdrom, /mnt/floppy, and /proc, and on my machine, spewed errors about how it could not create these folders and their .keep files, because they were already mounted (in my case, with supermount).

Reproducible: Always
Steps to Reproduce:




Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-love2)
=================================================================
System uname: 2.6.5-love2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.8
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -fomit-frame-pointer -frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d
/etc/terminfo /etc/env.d"CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer
-frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distcc sandbox userpriv"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow S3TC X X509 Xaw3d aalib accessibility acpi acpi4linux aim alsa
apache2 audiofile avi bonobo caps cddb cdr chroot cjk clanJavaScript clanVoice
crypt cups curl dga directfb divx dnd encode esd ethereal evo ext-png faad fam
fbcon fbdev flac foomaticdb freetype fs gif gimpprint gnome gnomedb gpm
gstreamer gtk gtk2 gtkhtml guile imlib imlib2 jabber java javascript jpeg ldap
libg++ libwww mad maildir mbox md5sum mldonkeypango mmx mng mozilla moznocompose
moznoirc moznomail mpeg mpeg4 mpi ncurses nls nocardbus nocd nodod nowin nptl
nvidia objc offensive oggvorbis openal opengl openssh oscar oss pam pdflib pic
png ppds quicktime readline samba sasl sdl slp spell src ssl stencil-buffer svga
tcltk tcpd threads truetype unicode usb videos wxwindows x86 xchattext
xgetdefault xine xml xml2 xosd xv xvid yahoo"




Also, if it helps, my fstab:

/dev/hda1               /               reiserfs        noatime,notail         1 1
/dev/hda2               /usr/portage/distfiles  reiserfs       
noatime,notail,nodev    0 0
/dev/hdb1               /var/pub        reiserfs        noatime,notail,nodev   0 0
/dev/hdb2               none            swap            sw      0 0
/dev/hdb3               /opt            reiserfs        noatime,notail,nodev   0 0
192.168.0.2:/var/www/localhost /mnt/website     nfs     sync                   0 0
 
none                    /mnt/cdrom      supermount     
fs=iso9660,dev=/dev/hdc,--,user,ro      0 0
none                    /mnt/cdrw       supermount     
fs=iso9660,dev=/dev/hdd,--,user,ro 0 0
none                    /mnt/floppy     supermount     
fs=auto,dev=/dev/fd0,--,user,rw,sync    0 0
# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults               0 0
 
none                    /dev/shm        tmpfs           defaults,size=32M      0 0
none                    /tmp            tmpfs           defaults,mode=1777     0 0
Comment 1 Simon Cooper 2004-06-06 07:50:52 UTC
this seems to be handled gracefully by the latest baselayout (it just tells you it cant do it, -> /usr/share/baselayout/mkdirs.sh), and the .keep files should still be there under the mounted filesystems from the first install, so imo this can be closed
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-06-06 17:05:54 UTC
Yes, latest baselayout handles this as gracefully as it can be done.  Bug 9489 has more information.